Skip to main content
All error responses return JSON with the following structure:
{
  "error": "Error Type",
  "message": "Human-readable description of what went wrong"
}

Status codes

Status CodeDescription
200Success
400Bad Request — missing or invalid parameters
401Unauthorized — invalid or missing API key
404Not Found — resource does not exist
500Internal Server Error — something went wrong on our end

Error examples

401 Unauthorized

Returned when the API key is missing or invalid.
{
  "error": "Unauthorized",
  "message": "Invalid API key"
}

400 Bad Request

Returned when required parameters are missing or malformed.
{
  "error": "Bad Request",
  "message": "condition_id is required"
}

500 Internal Server Error

Returned when an unexpected server-side error occurs. If this persists, contact [email protected].
{
  "error": "Internal Server Error",
  "message": "An unexpected error occurred"
}