Skip to Main Content
NewAccount and security

Idempotency-Key for API writes

API requests authenticated with an API key now accept an Idempotency-Key header on writes. A retry with the same key returns the original response instead of running the write again.

How it works

Send an Idempotency-Key header on a POST, PUT, PATCH or DELETE made with an API key. Once a request succeeds, its response is kept for 24 hours, and a retry with the same key, method, path and body gets that response back, marked as a replay. Each write that accepts the header is marked in the API reference.