This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
| Status | Why | How |
|---|---|---|
409 | Another publish is in flight for this account. | Wait a few seconds and repeat. |
429 | Rate limit exceeded. | Wait for Retry-After, then repeat. |
500 | Unexpected failure on our side. | Exponential backoff, with a ceiling. |
| Timeout / connection reset | The outcome is unknown. | See below before repeating. |
400, 401, 402, 403, 404 or 422. They describe something about the request or the account that a second attempt will not change.pageSize=100 costs one request where ten pages of 10 cost ten.manual-reinvite-to-review also answers 429 on its own, and neither case is about your budget. ReinviteTooSoon means a signer was re-invited too recently: retry after retryAfterMinutes. InviteLimitReached means every channel already carried 3 invitations in the last 24 hours. Both are checked before anything goes out, so a 429 here means no signer was contacted.Published, a further publish is refused with 400 — publication is accepted only from Draft, Hold or PublishScheduled. That is what makes a retry after an ambiguous failure safe: either it publishes an envelope that was not published, or it tells you it already was.409 is safe: it means another request holds the publish lock for your account, not that a second workflow is starting.GET /v1/ecm/envelopes?vaultIds={vaultId} and read the candidates to compare your own reference. privateDescription is a good place to keep an idempotency key of your own, precisely for this.PUT is a full replace — retrying with a body you have since trimmed will remove what you left out.create_envelope is not idempotent, and a repeated call creates a second draft.GET /documents/{id}/original, /signed and GET /envelopes/{id}/certificate return a presigned URL valid for one minute, and the URL is briefly cached, so it can reach you with less than that remaining.envelope_id plus event_type, make them idempotent, and treat an event as a signal to re-read the envelope from the API rather than as the state itself.