Idempotency-Key header so you can repeat a request after a timeout or a dropped connection:
POST /v1/leadsPOST /v1/messagesPOST /v1/callsPOST /v1/webhook_endpoints
Key rules
- A key has up to 255 characters.
- Use a different key for each operation. A UUID v4 works, or a format such as
<event>/<entity-id>. - Do not put personal data or secrets in a key.
- Each API key has its own idempotency keys.
- The API remembers a key for 24 hours.
Retrying with the same key
The order of the keys in the JSON body does not matter.
Which responses are replayed
send_outcome_unknown
The provider did not confirm the send or the call, so it may have gone out.
Check the result first:
Use a new key only after you confirm that nothing went out.
When the key cannot be checked
If the API cannot check the key,POST /v1/calls does not place the call and returns 502 provider_unavailable. Retry with the same key.
The other operations process the request without idempotency protection.