v24

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-015163191.7 KB
Billing

Get Billing Usage.

Get the summary of sent and received messages for a user in the current month

get/billing/usage

Response

OK

messagestring required
statusstring required

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"
}