Businesses
Retrieve the segment usage for a business
GET
Defaults to the last 30 days. Can specify start_time
and end_time
for a specific time range
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the business
Query Parameters
The start time of the usage period. Provided as a string in ISO 8601 format.
The end time of the usage period. Provided as a string in ISO 8601 format.
Response
200 - application/json
The number of email segments sent
The end time of the usage period in ISO 8601 format
The number of MMS segments sent
The number of SMS segments sent
The start time of the usage period in ISO 8601 format