Skip to main content
Write endpoints (POST /contacts, POST /messages) accept an optional Idempotency-Key header so you can safely retry a request after a network error without performing the operation twice.

Using a key

Generate a unique key per logical operation (a UUID works well) and send it on the request. Keys can be up to 255 characters.

Behavior

Keys are retained for 24 hours. After that, the same key is treated as new.
Derive the key from a stable identifier in your own system (for example, an order id or message draft id) so retries from any part of your code reuse the same key.

Handling conflicts

A 409 response uses the standard error envelope. On idempotency_in_progress, wait briefly and retry the same request — the original will have completed and its response will be replayed.