GET
/
businesses
/
{id}
/
segment_usage

Defaults to the last 30 days. Can specify start_time and end_time for a specific time range

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the business

Query Parameters

start_time
string

The start time of the usage period. Provided as a string in ISO 8601 format.

end_time
string

The end time of the usage period. Provided as a string in ISO 8601 format.

Response

200 - application/json
email
integer
required

The number of email segments sent

end_time
string
required

The end time of the usage period in ISO 8601 format

mms
integer
required

The number of MMS segments sent

sms
integer
required

The number of SMS segments sent

start_time
string
required

The start time of the usage period in ISO 8601 format