Ensure safe retries of API requests using idempotency keys
Idempotency-Key
header with your request, our API will ensure that multiple requests with the same key produce the same result.
Idempotency-Key
header:
Supported Operations
Key Requirements
Idempotency-Key
Request Matching
Idempotency-Key
header with any POST request:
200 OK
(or appropriate success status)Headers:409
: Wait and retry (concurrent request)412
: Don’t retry (original failed)2xx
with Idempotent-Replayed: true
header: Success (replayed)Request Already in Progress (409 Conflict)
409
again (still processing) or the final result once complete.Original Request Failed (412 Precondition Failed)
Key Mismatch