Skip to content

Envelopes

Cancel an envelope

Cancel an in-progress envelope to permanently halt the signing process

POST
/ v1 / envelopes / {envelope_id} / cancel

Cancels an envelope, immediately halting all signing activity. Once canceled, recipients can no longer access the signing ceremony.

This action is irreversible and permanent.
Only envelopes with status in_progress can be canceled. An envelope in processing can’t be canceled yet: wait until its status is in_progress, then cancel it.

Path parameters

envelope_iduuidrequired

The unique identifier of the envelope, in UUID format.

Body parameters

reasonstring

An optional explanation for why the envelope was canceled. This is for internal use only and is not shown to recipients. The reason is included in the envelope.canceled webhook event payload. Maximum 2,000 characters.

Returns

Returns a 200 OK status code along with an envelope object on success, or an error otherwise. The envelope’s status is canceled, and an envelope.canceled event is emitted.

Errors

StatusTypeWhen
404not-foundNo envelope with this ID exists in the account and mode of your API key.
409cannot-cancelThe envelope is not in_progress: it is still processing, it is being finalized after the last recipient completed, or it is already completed, failed or canceled. The detail says which.
422validation-errorreason is empty or longer than 2,000 characters.

For errors every endpoint can return, such as authentication and rate limits, see Errors.