Introduction
Idempotency
Required on public writes. Exact retries return the original result.
Send Idempotency-Key on every POST under /api/public/v1. Keys are scoped to (tenant, api key, method, path).
- The same key and same body return the original status and payload.
- Reusing a key with a conflicting body returns a deterministic conflict error.
- Keys are retained long enough for network retries; do not recycle them across different customers.
Client-side retries after timeouts should reuse the key. That is how a dropped orders call avoids a double subscription.