Idempotency Keys
Include anIdempotency-Key header in POST/PUT/PATCH requests:
How It Works
- First request with key: Processed normally
- Subsequent requests with same key: Returns original response
- Key validity: 24 hours
Best Practices
- Generate unique keys (UUIDs recommended)
- Include keys for all mutating operations
- Store keys for retry scenarios
- Use keys for webhook retries