Idempotency
Send an Idempotency-Key header with POST /posts, /drafts, /drafts/{id}/publish, /drafts/{id}/schedule, /replies, /webhooks and /media:
Header
Idempotency-Key: <any unique string>- The same key with the same request answers the first answer again for 24 hours, with the header Idempotent-Replayed: true. Nothing runs twice.
- The same key with a different request answers 409 idempotency_conflict.
- A replayed POST /media answers the same upload URL, which lasts 1 hour: after an hour, send a new key.
- A browser can read the Idempotent-Replayed and Allow response headers.
Other writes ignore the header.