SMS Usage

Get SMS/MMS Usage

1
curl "https://sms.accentvoice.com/api/v2/<DID Number>/usage/"
2
-X POST
3
{
4
"key": "<API Key>",
5
"start": "2019-06-22",
6
"stop": "2019-07-22"
7
}
Copied!
This request gets total SMS/MMS usage for a particular DID between two provided datestamps.
1
{
2
"success": true,
3
"error": false,
4
"status_code": "DID-USAGE",
5
"message": "SMS/MMS usage for <DID Number>.",
6
"data": [
7
{
8
"did": "<DID Number>",
9
"sms_inbound": "22",
10
"sms_outbound": "3",
11
"mms_inbound": "0",
12
"mms_outbound": "0"
13
}
14
]
15
}
Copied!
This request gets total SMS/MMS usage for a particular DID between two provided datestamps.

HTTP Request

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

Request Body Parameters

Parameter
Description
Required
start
Start datestamp
Yes
stop
Stop datestamp
Yes
Remember: Both the start and stop parameters must be in the Y-m-d format. For example, December 4th, 2020 is represented as 2020-12-04.
Last modified 2yr ago
Copy link