x-request-id to trace a single partner request through Connect, internal-router, and vendor HTTP calls.
Client behavior
-
Optional: Send a unique ID on every request:
-
Connect attaches
req.requestIdand returns it inmeta.requestIdon every response (success or error). -
If you omit the header, Connect generates
req_<uuid>.
Request IDs are for correlation only — not for security, deduplication, or idempotency. Use
X-Idempotency-Key for write retries when MS7 ships.Propagation chain
| Hop | Header |
|---|---|
| Partner → Connect | x-request-id (in) → meta.requestId (out) |
| Connect → internal-router | x-request-id |
| Connect → vendor APIs | X-Humanly-Request-Id |
Structured logging (Connect)
Each/connect/* request emits one log on response finish:
Sentry
Non-local environments tag Connect errors withrequestId, organizationId, vendor, route, and errorCode.
Support workflow
When opening a ticket with Humanly support, include:meta.requestIdfrom the API response- Timestamp and route
- HTTP status and
error.code(if applicable)
Example
- cURL

