RezLive

Authentication

Every request to the RezLive API is authenticated by a single credential — the x-api-key HTTP header. This page explains what each piece of identification in a request actually does, because the design is easy to misread.

What you send on every request

WhereFieldWhat it isRequired
HTTP header x-api-key The credential. Authenticates your organisation to the RezLive infrastructure. Yes
Request body <AgentCode> Routing identifier. Tells RezLive which agent account to apply (inventory, currency, contracts). Yes
Request body <UserName> Routing identifier (companion to AgentCode). Identifies the user/sub-account within the agency. Yes
⚠
AgentCode and UserName are not credentials

They are routing tokens that identify which agent account a request belongs to. Stealing them does not grant API access — the x-api-key is the secret.

We retain them in the body for backwards compatibility with existing integrations. They may be consolidated into headers in a future major version. Existing integrations will not break.

IP whitelisting

In addition to the API key, your outbound IP addresses must be whitelisted with RezLive. A request from a non-whitelisted IP is rejected with the same generic error as an invalid API key.

  • Send your test environment IPs to xmlsupport@rezlive.com before integration.
  • Send your production IPs separately as part of the certification handover.
  • When IPs change (server moves, NAT changes), notify support before the cutover.

Endpoint base URLs

EnvironmentBase URLCredentials
Test (sandbox)https://test.xmlhub.com/testpanel.phpIssued at registration
Productionhttps://www.xmlhub.comIssued after certification
⛔
Always use HTTPS

If you see a base URL over plain HTTP in older code or documentation, replace it with HTTPS. RezLive supports HTTPS on test and production. HTTP requests should be migrated immediately as part of any partner security review.

Common authentication errors

CodeTriggerWhat to do
RZL-AUTH-001Invalid API key OR IP not whitelistedConfirm key value; confirm whitelist status with support
RZL-AUTH-002Agent account inactive or suspendedContact support — billing/contract review
RZL-AUTH-003Production credentials requiredUse the credentials issued post-certification