Action required: We're beginning to shutdown our old platform. Please migrate to our new platform ASAP. 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": 1765397289220, "api_version": "v2025.12.10", "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"
1765397289220
"v2025.12.10"
"response"
Show child attributes
Was this page helpful?