Skip to main content

ExoVerify

Verify phone numbers using SMS OTP (One-Time Password). ExoVerify handles OTP generation, delivery, and validation — so you don't have to build it yourself.

How It Works

  1. Your app calls the Start Verification API with the user's phone number
  2. ExoVerify sends an SMS OTP to that number
  3. The user enters the OTP in your app
  4. Your app calls the Verify OTP API to validate it
  5. ExoVerify returns success or failure

Base URL

https://exoverify.exotel.com/v2/accounts/{account_sid}/verifications/sms

Authentication

ExoVerify uses Basic Authentication with your Application credentials (not the main API key/token):

Authorization: Basic <base64(Application_ID:Application_Secret)>
Content-Type: application/json

Getting Credentials

  1. Log into the Exotel Dashboard
  2. Navigate to ExoVerifyApplications
  3. Create a new SMS OTP application
  4. Note the App ID and App Secret

OTP Defaults

SettingValue
OTP expiry60 seconds
Max attempts10 per verification
OTP length4–6 digits (configurable)

Endpoints

EndpointMethodDescription
Start VerificationPOSTSend OTP to a phone number
Verify OTPPOSTValidate the OTP entered by the user