Send a Message

Send An Outbound Message

curl "https://sms.accentvoice.com/api/v2/<DID Number>/sendMessage/"
-X POST
{
"key": "<API Key>",
"to": "<11-Digit Destination>",
"message": "Hello world!"
}

This request queues an outbound SMS message with the following response:

{
"success": true,
"error": false,
"status_code": "SEND-SUCCESS",
"message": "The message was successfully queued for delivery.",
"data": {
"message_id": "47ce05e2fcfceb6a56aaf84ae1fa49e81e77db1d"
}
}

This API endpoint queues an outbound message from a given DID.

HTTP Request

POST https://sms.accentvoice.com/api/v2/<DID Number>/sendMessage/

Request Body Parameters

Parameter

Description

Required

to

11-digit destination

Yes

message

Desired SMS message body

Yes

media

URLs of desired MMS attachments

No