Errors and status codes

Code Meaning 200 Success 401 Missing or invalid API token 403 Authenticated, but the account lacks the required permission 404 Resource not found (or not owned by the token’s…

Conventions 1 min read Updated 1 day ago

Status codes

Code Meaning
200 Success
401 Missing or invalid API token
403 Authenticated, but the account lacks the required permission
404 Resource not found (or not owned by the token’s account)
422 Validation failed — see errors in the body
429 Rate limit exceeded

Validation errors return the Laravel error shape:

json
{
  "message": "The given data was invalid.",
  "errors": { "email": ["The email field is required."] }
}

Was this page helpful?