Skip to main content

Idempotency-Key header

Include an Idempotency-Key header on every POST request. This prevents duplicate submissions, so retrying with the same key and body is safe.

Behavior

The idempotency window is 24 hours. After 24 hours, a key may be reused for a different submission.

Key generation

Use a sufficiently unique string — a UUID v4 is recommended:
Do not reuse keys across different submissions.

Retry strategy

When a network error or 5xx response occurs, you may safely retry with the same Idempotency-Key. The platform deduplicates on the server side. Recommended exponential back-off: Stop retrying after a 4xx response — these indicate a problem with the request itself, not a transient server issue.