Centra/Docs
Browse documentation
Centra Bridge

Authentication and response handling

Use Centra-issued credentials and inspect both HTTP status and response bodies.

Use the correct credentials #

JSON PMS endpoints validate query hr_id and token. XML adapters accept credentials in query or XML. The agency webhook validates its path credentials. Each endpoint repeats its authentication requirements. Tokens in URLs must be redacted from logs and diagnostics; examples contain only visibly synthetic values.

Agency platform username/password authenticate inventory received on the partner platform. They are separate from the Centra CRH ID and Token. Arrange secure transfer with the integration team.

Inspect the response body #

JSON auth errors use a numeric status: 1. Other errors can contain success: false, error, or string status: error. XML errors contain <status>1</status>. Middleware errors can be JSON even for XML requests. Handle the actual Content-Type.

Authentication error · HTTP 401 json
{
  "status": 1,
  "message": "Invalid credentials"
}

Acknowledgement is not completed delivery #

Inventory writes may acknowledge stream publishing before downstream processing finishes. Daily inventory returns a JSON-encoded string in errors, including on HTTP 200. Reservation state updates can return status: error with HTTP 200. Confirm application status and resulting inventory/reservations, rather than treating HTTP 200 as end-to-end success.

Rate limits and retries #

Rate-limited API requests return HTTP 429. Read X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset when present. Do not hardcode a rate limit. On a timeout or uncertain write, reconcile the existing outcome with the integration team before repeating the write.