POST
/
otp
/
new
curl --request POST \
  --url https://api.contiguity.co/otp/new \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "+1234567890",
  "language": "en",
  "name": "Contiguity"
}'
{
  "message": "OTP sent successfully",
  "crumbs": {
    "plan": "free",
    "quota": 3,
    "type": "sms",
    "ad": true
  },
  "otp_id": "abc123xyz"
}

Authorizations

Authorization
string
header
required

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Body

application/json

Response

200
application/json

OTP sent successfully

The response is of type object.