Ir al contenido

Monthly usage and quota

GET
/v1/usage
curl --request GET \
--url 'https://api.mailerdash.com/v1/usage?month=2026-04' \
--header 'Authorization: Bearer <token>'

Returns sent count and quota for the current month. Admin sees all keys; regular key sees only its own.

month
string

Month to query in YYYY-MM format (default: current month)

Example
2026-04

Usage summary

Media type application/json
One of:
object
key_id
string
label
string
month
string
sent
integer
monthly_quota
integer
nullable
remaining
integer
nullable
Example generated
{
"key_id": "example",
"label": "example",
"month": "example",
"sent": 1,
"monthly_quota": 1,
"remaining": 1
}

Unauthorized