Skip to main content
POST
/
sms
/
send
cURL
curl --request POST \
  --url https://api.delaphonegh.com/sms/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "recipient": "<string>",
  "message": "<string>",
  "sender_id": "<string>",
  "webhook_url": "<string>",
  "scheduled_time": "<string>"
}
'
{
  "success": true,
  "status": 123,
  "message": "<string>",
  "data": [
    {
      "recipient": "<string>",
      "message_id": "<string>",
      "status": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

SMS details to be sent.

recipient
string
required

Phone number of the recipient

message
string
required

Text message to be sent

sender_id
string

Custom sender ID (if applicable)

webhook_url
string

URL to receive status updates

scheduled_time
string

Time to schedule the message

Response

SMS sent successfully

success
boolean
required

Indicates whether the SMS request was successful

status
integer
required

HTTP status code of the SMS request

message
string
required

Message indicating the result of the SMS request

data
object[]
required

Array of details for each recipient