Skip to main content

Errors & status codes

Standard HTTP semantics. Error responses are JSON in Spring's ProblemDetail shape.

CodeMeaning
200Success.
400Bad request — missing required params, invalid date range, etc.
401Missing or invalid API key.
403Authenticated, but the partner isn't permitted (e.g. no channel mapped on /api/rates).
404Resource not found.
429Rate limited. Retry with exponential backoff.
5xxServer error. Safe to retry idempotent calls (GET).

Examples

Missing auth header

HTTP/1.1 401 Unauthorized

Bad request

{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Provide at least one of listingIds or propertyIds"
}

Forbidden — no channel mapped

{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "No channel mapped to authenticated partner prt_abc..."
}