← Graph

Idempotency Key

concept 5 connections

Convention for making POST-style creation idempotent. The sender generates (or retrieves) a unique token representing the intent of the operation and attaches it to the request (as a field or header). The receiver indexes stored resources by this key; on a duplicate request with the same key, it returns the existing resource instead of creating a new one. Same key = same intent, so retries never create duplicates. Response conventions vary (success, 409 Conflict, 422 Unprocessable) and consistency within a team matters more than the specific choice.

category
pattern
about
Idempotency Key concept
Topic is what to do when the third party does not support idempotency keys.
Convention for making POST creation idempotent.
about
Idempotency Key concept
Recommends lobbying providers to support the pattern.
concept Idempotency Key
related_to
Idempotence concept
An implementation mechanism for idempotent POST-style creation.
related_to
Idempotency Key concept
Find-or-create is the fallback used when idempotency keys are not available.

Provenance

Read by
3 extractions