Authorization header,
as a bearer token:12curl "https://api.mesub.io/v1/project" \ -H "Authorization: Bearer $MESUB_API_KEY"
SUB_. Get your API key says where to create it and
how to rotate it.| Status | code | Meaning |
| 401 | missing_api_key | No Authorization: Bearer header was sent |
| 401 | invalid_api_key | Not a key Mesub issued, or one rotated since |
12345678{ "statusCode": 401, "message": "That API key is not valid.", "error": "Unauthorized", "code": "invalid_api_key", "retryable": false, "request_id": "req_4f8KzQ2nVb7XcR1mT9wLp3sD" }
| Calls | Limit |
Reads: /v1/access, /v1/plans, /v1/subscriptions, /v1/project, /v1/events | 1,000 a minute |
| Writes: create, transaction, submit, retry, cancel, resume, close, their confirms | 60 a minute |
X-RateLimit-Limit, the
route's limit, X-RateLimit-Remaining, the calls left in the window, and
X-RateLimit-Reset, the seconds until the window starts over.rate_limited with a Retry-After header, in
seconds.
Pricing and limits has every other limit.