cURL
curl --request POST \ --url https://api-v2.dexchange-sms.com/api/v1/send/otp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "service": "<string>", "number": "<string>", "channel": "<string>" }'
{ "status": "<string>" }
Sends an OTP to the specified number
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Details for sending an OTP
The body is of type object.
object
OTP sent successfully
The response is of type object.