Skip to main content
The Penbox API uses conventional HTTP status codes to indicate the success or failure of a request. The same set of codes applies consistently across all endpoints — creating a Case behaves the same way as any other call.

Success codes

Client error codes (4xx)

Server error codes (5xx)

429 Too Many Requests is not produced by the application itself, but may be returned by the network / gateway layer if rate limiting is in effect.

Error response body

All error responses share the same JSON structure:
When handling errors programmatically, branch on the HTTP statusCode rather than parsing the message, which is meant for humans and may change.