Skip to content

API Chain Headers Reference

Partner portal uses the API chain exclusively. Every request to /api/v1/partner/** must include the HMAC authentication headers. The gateway also forwards infrastructure headers injected by Cloudflare and the reverse proxy.

Authentication Headers (Required)

HeaderDescription
X-Api-KeyYour provisioned API key (e.g. sk_live_abc123)
AuthorizationHMAC-SHA256 <base64-signature>
X-TimestampUnix epoch in seconds (±60s of server time)
X-NonceUnique per-request identifier (UUID recommended)

Standard HTTP Headers

HeaderDescription
Content-Typeapplication/json for request bodies
Acceptapplication/json

Gateway Context Headers

These are injected by the gateway or reverse proxy. When calling through the API chain directly, some may be required or forwarded:

HeaderConstantSource
X-Request-IdREQUEST_IDGatewayHeaders
X-Workspace-IdWORKSPACE_IDGatewayHeaders
X-LOCALELOCALEGatewayHeaders
X-Forwarded-ProtoFORWARDED_PROTOGatewayHeaders

Cloudflare Headers

Injected by Cloudflare infrastructure. Not typically set by API callers, but may appear in gateway logs:

HeaderConstantSource
CF-Connecting-IPCLIENT_IPGatewayHeaders
Cf-RayCF_RAYGatewayHeaders
cf-ipcountryCOUNTRYGatewayHeaders
cf-regionREGIONGatewayHeaders
cf-ipcityCITYGatewayHeaders
cf-iplatitudeLATITUDEGatewayHeaders
cf-iplongitudeLONGITUDEGatewayHeaders
cf-postal-codePOSTAL_CODEGatewayHeaders
cf-timezoneTIMEZONEGatewayHeaders
User-AgentUSER_AGENTGatewayHeaders
Accept-LanguageACCEPT_LANGUAGEGatewayHeaders
Exposed-Credential-CheckEXPOSED_CREDENTIAL_CHECKGatewayHeaders

SlaunchX Internal Documentation