API reference
Current tenant send usage
Source: OpenAPI (openapi/openapi.yaml).
curl -X GET "https://api.sendtier.example/usage" \ -H "Authorization: Bearer st_live_REPLACE_ME"{ "plan": "free", "day": { "sent": 0, "limit": 0, "resets_at": "2019-08-24T14:15:22Z" }, "month": { "sent": 0, "limit": 0, "resets_at": "2019-08-24T14:15:22Z" }, "test_day": { "sent": 0, "limit": 0, "resets_at": "2019-08-24T14:15:22Z" }}GET
Requires a full or read_only key. Limits are null when uncapped. Counts accepted recipients, including scheduled sends.
header
AuthorizationBearer <token>API key: st_live_... or st_test_...
Current UTC day and month usage.
application/json- response
plan*stringValue in
"free""pro""scale"day*month*test_day*