Action required: We've launched our new platform! Migrate to V2 by October 10th, 2025. Instructions available in our migration guide.
cURL
curl --request POST \ --url https://api.contiguity.com/otp/new \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "to": "+1234567890", "language": "en", "name": "Contiguity" }'
{ "id": "req_xxxxxxxxxxxxxxxx", "timestamp": 1757916599341, "api_version": "v2025.9.15", "object": "response", "data": { "otp_id": "otp_1234567890" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Recipient's phone number
"+1234567890"
Language of the OTP message
"en"
Your app's name (customizes message to 'Your [name] code is...')
"Contiguity"
Send a new OTP
"req_xxxxxxxxxxxxxxxx"
1757916599341
"v2025.9.15"
"response"
Show child attributes
Was this page helpful?