dedupe_key
dedupe_key deduplicates semantically identical jobs in a 24-hour window.
- Scope: account + key
- Ignores already
failedjobs - If matched, API returns existing job with
deduplicated: true
Typical use cases
- Prevent duplicate invoice processing
- Avoid repeated outbound notifications
- Suppress duplicate user-triggered operations
Idempotency-Key header
Idempotency-Key deduplicates repeated create requests in a 24-hour window.
- Scope: account + header value
- Works even if body is retried by the client unchanged
- Returns existing job with
deduplicated: true
Difference
- dedupe_key
- Idempotency-Key
Business-level dedupe: “these jobs mean the same thing”.