Billing
Get billing usage history.
Get billing usage records of sent and received messages for a user in the past. It will be sorted by timestamp in descending order.
get/billing/usage-history
Query parameters
skipinteger
number of heartbeats to skip
limitinteger
number of heartbeats to return
Response
OK
Example response
{
"data": [
{
"created_at": "2022-06-05T14:26:02.302718+03:00",
"end_timestamp": "2022-01-31T23:59:59+00:00",
"id": "32343a19-da5e-4b1b-a767-3298a73703cb",
"received_messages": 465,
"sent_messages": 321,
"start_timestamp": "2022-01-01T00:00:00+00:00",
"updated_at": "2022-06-05T14:26:10.303278+03:00",
"user_id": "WB7DRDWrJZRGbYrv2CKGkqbzvqdC"
}
],
"message": "Request handled successfully",
"status": "success"
}