Skip to contentSkip to navigationSkip to topbar

Verify

Fight fraud and protect user accounts. Quickly verify users via SMS, Passkeys, Silent Network Auth, Voice, WhatsApp, TOTP, Push, Silent Device Approval, and Email.

Create your first verification

Take the next steps with Twilio Verify

Get Started
1
Twilio servers
2
Your app

curl -X POST \
https://verify.twilio.com/v2/Services/VAxxxxxxxxxxxxxxxxx/Verifications \
--data-urlencode "To=+19876543210" \
--data-urlencode "Channel=sms"

View complete examples(link takes you to an external page)
3
Your verification code is: 915316
RECIPIENT'S DEVICE

Take the next steps with Twilio Verify


Get Started

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(link takes you to an external page) or with the API. Choose the channel and your programming language to get started.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_11
// Download the helper library from https://www.twilio.com/docs/node/install
_11
// Find your Account SID and Auth Token at twilio.com/console
_11
// and set the environment variables. See http://twil.io/secure
_11
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_11
const authToken = process.env.TWILIO_AUTH_TOKEN;
_11
const client = require('twilio')(accountSid, authToken);
_11
_11
client.verify.v2.services('VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_11
.verifications
_11
.create({to: '+15017122661', channel: 'sms'})
_11
.then(verification => console.log(verification.sid));

Ahoy, World

Create your first verification. Jump to a Quickstart for the channel of your choice:


API Reference

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 API Reference

Best Practices & More

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.

Lookup
Lookup

Reduce undeliverable messages, identify local-friendly number formats, do CNAM lookups, and protect yourself from fraud with Twilio Lookup.

Product documentation

Rate this Page: