Daily SIM usage statistics

<Warning> Data traffic cost statistics (`cost` field in the `data` object) have been deprecated. </Warning> Retrieves SIM usage statistics accumulated per day. By default, the response includes statistics for the current month. `start_date` and an `end_date` can be provided as query parameters to retrieve statistics for a specific time frame. Example request: `/api/v1/sim/123/stats/daily?end_date=2019-03-21&start_date=2019-03-01`

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the /api/v1/authenticate POST request.

Path parameters

sim_idintegerRequired
Numeric ID of a SIM

Query parameters

start_datestringOptionalformat: "date"
Filters by start date, provided in a `YYYY-MM-DD` format. <Info> If you don't define an end date, the response will include 6 months of data, beginning on the current date. </Info>
end_datestringOptionalformat: "date"
Filters by end date, provided in an `YYYY-MM-DD` format. <Info> If you don't define a start date, the response will only return data from the month indicated in your end date. </Info>

Response

Successfully returned the daily SIM statistics for the provided dates and ID.