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": 1755722229870, "api_version": "v2025.8.20", "object": "response", "data": { "otp_id": "otp_1234567890" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Send a new OTP
The response is of type object.
object
Was this page helpful?