Skip to main content

Error format

All errors return JSON with an error field:
{ "error": "Description of what went wrong" }

Status codes

CodeMeaningWhen
400Bad RequestMissing required field, invalid format, bad JSON
401UnauthorizedMissing or invalid API token
403ForbiddenWrong plan, not the project owner, feature disabled
404Not FoundProject, key, version, or webhook doesn’t exist
429Too Many RequestsRate limit exceeded
500Server ErrorSomething broke on our end

Examples

Bad request — missing a required field:
curl -X POST https://developer.sirius.menu/v1/projects/abc123/keys/revoke \
  -H "Authorization: Bearer sdt_..." \
  -H "Content-Type: application/json" \
  -d '{}'
{ "error": "key_id is required" }
Not found — project doesn’t exist or you don’t own it:
{ "error": "Project not found" }
Rate limited:
{ "error": "Rate limit exceeded. Maximum 100 requests per minute." }