When to use it
Networks drop connections. When a client can’t tell whether a request reached Sideren, it retries — and without an idempotency key, that retry runs the work (and bills it) a second time. Send anIdempotency-Key header and Sideren recognises the retry.
Idempotency applies to batch creation, where a duplicate does real work:
POST /v1/messages/batches and POST /v1/batches (Batches).
A create with an idempotency key