Create your first verification. Jump to a Quickstart for the channel of your choice:
Fight fraud and protect user accounts. Quickly verify users via SMS, Passkeys, Silent Network Auth, Voice, WhatsApp, TOTP, Push, Silent Device Approval, and Email.
Take the next steps with Verify
curl -X POST \https://verify.twilio.com/v2/Services/VAxxxxxxxxxxxxxxxxx/Verifications \--data-urlencode "To=+19876543210" \--data-urlencode "Channel=sms"
Take the next steps with Verify
With just a few lines of code, you'll send your first verification token to a user's device with the Verify API. Add a few more and you can check the verification token. Create and manage Verification Services in the Console or with the API. Choose the channel and your programming language to get started.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function createVerification() {11const verification = await client.verify.v212.services("VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.verifications.create({14channel: "sms",15to: "+15017122661",16});1718console.log(verification.sid);19}2021createVerification();
Create your first verification. Jump to a Quickstart for the channel of your choice:
You have customers to protect. Let's get verification to production.
These short tutorials, sample apps, and API reference docs will get you up and running with a variety of channels.
Verify solves complex development challenges so you can focus on the code that counts. From carrier regulations to device-specific capabilities, Verify spots and solves for mission critical communication variables, ensuring your message is always delivered.
Secure your users' accounts with our suite of User Authentication & Identity products.
Reduce undeliverable messages, identify local-friendly number formats, do CNAM lookups, and protect yourself from fraud with Twilio Lookup.
Product documentation