/api/v1/crm and /api/v2 has an X-Request-ID header. Quote it when you contact support: it lets us find the exact request in our logs.
Sending your own id
If you send anX-Request-ID request header, the API reuses it. This lets you correlate your own logs with ours.
- Allowed characters: letters, digits,
_,.and-. - Length: 1 to 128 characters.
- A missing or invalid value is replaced by a generated UUID. The request still succeeds.
X-Request-ID: checkout-7f3a91.
Where it appears
The value in the body is always the same as the header. A success body from
/api/v1/crm that is not a JSON object (an array, a file or a stream) carries the header only. A response replayed by an Idempotency-Key gets the requestId of the replaying request.
Use a fresh id per request. If you retry, send a new id and keep the Idempotency-Key the same.