Skip to content
Sendtier Docs
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
/usage

Requires a full or read_only key. Limits are null when uncapped. Counts accepted recipients, including scheduled sends.

Authorization

headerAuthorizationBearer <token>

API key: st_live_... or st_test_...

Response Body

Current UTC day and month usage.

application/json
  1. response
plan*string
Value in"free""pro""scale"
day*
month*
test_day*