Skip to main content
POST
https://api.dojah.io
/
api
/
v1
/
messaging
/
sms
Send SMS
curl --request POST \
  --url https://api.dojah.io/api/v1/messaging/sms \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sender_id": "<string>",
  "destination": "<string>",
  "channel": "<string>",
  "priority": true,
  "message": "<string>"
}
'
{
  "entity": {
    "status": "Sent",
    "mobile": "2349069278034",
    "message_id": "dj_c8095767-c69f-4bd7-aa52-7cb469effb51",
    "reference_id": "cc7f9a23-959a-4708-ac6e-5cffec7682ba"
  }
}
AppId
string
required
Application ID from dashboard

BODY PARAMS

sender_id
string
required
Registered Sender ID
destination
string
required
Mobile number to receive message. Multiple numbers should be separated by comma
channel
string
required
Either or any of the following can be used. sms, whatsapp,voice
priority
boolean
Indicate if you want to send with the priority mode. Default is false
message
string
required
Body of Message to be sent

RESPONSES

200
json
json
400
Object
401
Object
{
  "entity": {
    "status": "Sent",
    "mobile": "2349069278034",
    "message_id": "dj_c8095767-c69f-4bd7-aa52-7cb469effb51",
    "reference_id": "cc7f9a23-959a-4708-ac6e-5cffec7682ba"
  }
}