MepMail Docs
Referência da APIEndpointsUsage

Get plan and usage

GET
/usage

Returns the team's plan, limits and usage in the current period.

AuthorizationBearer <token>

An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/usage"
{  "object": "usage",  "cloud": true,  "plan": "free",  "limits": {    "emails_per_day": 0,    "emails_per_month": 0,    "domains": 0,    "contacts": 0  },  "today": {    "emails_sent": 0,    "resets_at": "string"  },  "period": {    "emails_sent": 0,    "included": 0,    "overage_enabled": true,    "overage_usd_per_1k": 0,    "starts_at": "string",    "ends_at": "string"  },  "team": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string"  },  "app_url": "string"}