Skip to main content
Errors return a consistent JSON shape and the matching HTTP status code:
  • code — a stable, machine-readable string (switch on this, not the message).
  • message — a human-readable, safe description. It never leaks upstream or internal detail.
  • requestId — quote it in support requests so we can trace the exact call.

Status codes

422 responses include a details array pinpointing each invalid parameter, so you can surface precise validation feedback to your users.