Twilio Verify Phone Number

PAID
By twilioOfficial
Updated a month ago
Business
-/10
Popularity Score
-
Latency
-
Success Rate

Twilio Verify Phone Number API Documentation

As part of Twilio's account security offerings, the Twilio Verify API makes it simple to add phone verification to your web application. It supports codes sent via voice and SMS.

View API Details
Verification Check
POSTCheck a Verification
Service Rate Limits
GETList all Rate Limits
POSTUpdate a Rate Limit
DELETEDelete a Rate Limit
POSTCreate a Rate Limit
GETFetch a Rate Limit
Verifications
POSTStart a New Verification
POSTUpdate a Verifications Status
GETFetch a Verification
Services
GETFetch a Service
POSTCreate a Verification Service
DELETEDelete a Service
GETList all Services
POSTUpdate a Service
Service Rate Limit Buckets
POSTUpdate a Bucket
GETFetch a Bucket
POSTCreate a Bucket
GETList all Buckets
DELETEDelete a Bucket
POSTStart a New Verification

To verify a user's phone number, you will start by requesting to send a verification code to their device.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
toSTRING
REQUIREDThe phone number to verify.
channelSTRING
REQUIREDThe verification method to use. Can be: sms or call.
serviceSidSTRING
REQUIREDThe SID of the verification Service to create the resource under.
Optional Parameters
localeSTRING
OPTIONALThe locale to use for the verification SMS or call. Can be: af, ar, ca, cs, da, de, el, en, es, fi, fr, he, hi, hr, hu, id, it, ja, ko, ms, nb, nl, pl, pt, pr-BR, ro, ru, sv, th, tl, tr, vi, zh, zh-CN, or zh-HK.
amountSTRING
OPTIONALThe amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
payeeSTRING
OPTIONALThe payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
customCodeSTRING
OPTIONALA pre-generated code to use for verification. The code can be between 4 and 10 characters, inclusive.
sendDigitsSTRING
OPTIONALThe digits to send after a phone call is answered, for example, to dial an extension. For more information, see the Programmable Voice documentation of sendDigits.
rateLimitsSTRING
OPTIONALThe custom key-value pairs of Programmable Rate Limits. Keys should be the unique_name configured while creating you Rate Limit along with the associated values for each particular request. You may include multiple Rate Limit values in each request. Ex/ {"unique_name":"RKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication