Send a Message

Send An Outbound Message

1
curl "https://sms.accentvoice.com/api/v2/<DID Number>/sendMessage/"
2
-X POST
3
{
4
"key": "<API Key>",
5
"to": "<11-Digit Destination>",
6
"message": "Hello world!"
7
}
Copied!
This request queues an outbound SMS message with the following response:
1
{
2
"success": true,
3
"error": false,
4
"status_code": "SEND-SUCCESS",
5
"message": "The message was successfully queued for delivery.",
6
"data": {
7
"message_id": "47ce05e2fcfceb6a56aaf84ae1fa49e81e77db1d"
8
}
9
}
Copied!
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
Last modified 2yr ago
Copy link