Idempotency
Retry a write as often as you need; it takes effect once.
Networks fail after a request has been sent: you cannot tell whether EVVA received it. An Idempotency-Key
removes the doubt. Send the same key with the same request again, and EVVA answers the first outcome instead of
acting twice.
The rules
There is no exactly-once promise. A key makes your retries safe; it does not turn two different requests into one. If you are unsure whether a write without a key ran, read the resource before repeating it.
By operation family
Bulk sends
A bulk send carries one key for the whole batch (1–128 characters of
[A-Za-z0-9_-]). Item i is sent with its own derived key:
Retrying the batch with the same key replays every item that was already sent and sends only the rest. You can also
retry one item on its own through the single send, with its derived key. The answer is 207 with one result per
item, in request order.
Operations that may need approval
An operation that may need a person’s approval requires an Idempotency-Key; without one it is refused with
400 IDEMPOTENCY_KEY_REQUIRED before anything is asked. The approval is tied to that key: re-send the approved
request with the same key and the Partner-Approval-Id header. See Approvals.
Choosing keys
Derive the key from what you are reacting to
A reply to an inbound message can use reply- plus that message’s id. A redelivered event, or a worker that
restarted halfway, then produces the same key and cannot reply twice.
In the SDKs
The four official SDKs send a key automatically on every operation that declares the header (a random UUID per logical call, reused by its retries) and retry only requests that cannot take effect twice. Pass your own key when your process may repeat the work after a crash:
A same-key conflict surfaces as a dedicated idempotency-conflict error in every SDK, and is never retried.
