cURL
curl --request POST \ --url https://api.dojah.io/api/v1/messaging/otp \ --header 'AppId: <appid>' \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "sender_id": "<string>", "destination": "<string>", "channel": "<string>", "length": {}, "priority": true }'
{ "entity": [ { "reference_id": "fd2a5c3c-f62f-484d-bc19-410f3483c6f6", "destination": "09098377027", "status_id": "dj_e2f21121-feee-3740-854f-8bb2db378fe1", "status": "whatsapp/voice/sms OTP sent successfully " } ] }
Show properties