#HTTP status codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 201 / 202 | Created / accepted (for example an update waiting for review) |
| 400 | Validation error β a required parameter is missing or malformed |
| 401 | Invalid or missing API key |
| 403 | The token does not have the permission this endpoint needs |
| 404 | Resource not found (also returned for an invalid purchase code) |
| 409 | Conflict β for example an update of this item is already waiting for review |
| 422 | The request was understood but refused β the error field says why |
| 429 | Rate limit exceeded β wait and retry |
#Error shape
{
"status": "error",
"error": "pending_update",
"msg": "This item already has an update waiting for review."
}
Older read endpoints return only status and msg. Write endpoints add a machine-readable error code β branch on it, never on the message text.
#Rate limits
| Scope | Limit |
|---|---|
| Every token | 60 requests per minute |
Write calls (PATCH items, changelogs, start / complete uploads) |
30 per minute |
| Upload parts | 240 part URLs or 120 relay chunks per minute |
| Licence endpoints | see Licence activation |
| Toolkit endpoints | 60 per minute |
Invalid keys share one bucket per IP address (30 per 10 minutes) β a script that keeps sending a wrong key is blocked for a while.
Developers