Send a key
EveryPOST, PATCH and DELETE request needs an Idempotency-Key header. Use a new random value, such as a UUID, for each distinct operation, and reuse it only when you retry that same operation.
400 and the code missing_idempotency_key. GET requests don’t need the header.
How retries behave
Keys are kept for 7 days. Each key applies to one endpoint, so the same value sent to two different paths counts as two keys.