Guides

Safe retries

Prevent duplicate resources and provider actions when clients retry uncertain requests.

Reviewed November 3, 2026·AI-readable

Rules

  • Every accepted REST mutation requires Idempotency-Key.
  • MCP write tools require idempotencyKey in tool input.
  • Keys are at most 128 characters.
  • A key is scoped by workspace, client, and command.
  • Records are retained for 24 hours.
  • The same key and body return the completed response.
  • The same key with a different body returns 409 idempotency_conflict.
  • A concurrent duplicate returns 409 idempotency_in_progress.

Key strategy

Use a stable business-operation identifier, not a random value created on every retry. Include the action and your own resource ID, for example crm-campaign-482-schedule-v1.

Was this page helpful?