Error Response Example

400 Bad Request (Missing Field)

{
  "error": "Bad Request",
  "message": "Required field 'user_id' not found in payload."
}

401 Unauthorized

{
  "error": "Unauthorized",
  "message": "X-API-KEY is invalid or not found."
}

500 Internal Server Error

{
  "error": "Internal Server Error",
  "message": "An internal server error occurred."
}

Last updated