Glossary / Idempotency key
Idempotency key
A unique request header that makes retries safe: the same key never runs twice.
An idempotency key is a unique value, often a UUID or a source record id, sent with a write request. The server remembers the key and its response. If the client retries because of a timeout, the server returns the stored response instead of doing the work again.
For paid APIs this means a flaky network or a retrying agent cannot double-charge you.
Use a key that is stable for the logical operation, such as the CRM record id plus the endpoint name, rather than a new random value per attempt. A new value on each retry defeats the purpose.
How Dizo handles it. Send
Idempotency-Key on any POST. Repeats within 24 hours return the original response and are never charged; reusing a key with a different body returns 409.