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>" } ] }
Send an SMS message to a specified recipient.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SMS details to be sent.
Phone number of the recipient
Text message to be sent
Custom sender ID (if applicable)
URL to receive status updates
Time to schedule the message
SMS sent successfully
Indicates whether the SMS request was successful
HTTP status code of the SMS request
Message indicating the result of the SMS request
Array of details for each recipient
Show child attributes
The recipient's phone number
Unique identifier for the message
Status of the SMS message