Skip to main content

Safe creation retries

Generate one requestId when your system starts a new form. Persist the exact request body and retry it unchanged if the network times out or the API returns a transient error. Do not generate a new ID just because a response was lost. Requests with the same ID are scoped to your partner account. Concurrent identical requests converge on one draft; the first creation returns 201, and replays return 200. Replays return current lifecycle information and never overwrite attorney edits. Text is trimmed and emails are lowercased before comparison. Object key order does not matter. Reuse with different creation data, including a different sendEmail value, returns 409 request_id_conflict. Use a new request ID for a new intentional form. Multiple forms for the same case are supported. IDs remain reserved while the original draft is retained, including after submission or deletion.

Error format

fields appears on validation errors. A field path identifies the nested property or array entry that needs correction. Unknown fields are rejected. For network failures or other transient 5xx responses, use exponential backoff with jitter and the original request ID. Stop automatic retries for mapping and authentication errors until they are corrected.

Notification delivery

Request retries do not enqueue duplicate logical notifications. A separate worker retries failed initial emails. If a provider accepts a message but its acknowledgment is lost, a retry can still cause a duplicate delivery. Absolute exactly-once email or webhook delivery is not guaranteed.