Envelopes

Cancels every document of the envelope that can still be cancelled, the way deleting a pending document cancels it: the owner, its signers and its copy receivers are told. A document already closed, one every signer has signed (its certification queued), or one being certificated, is left as it is. A notice that fails doesn't stop the other documents. Safe to repeat: a second call cancels nothing and answers each document's status.

Copy as Markdown Open in ChatGPT Open in Claude

put/v1/accounts/{accountId}/envelopes/{envelopeId}/cancel

Request

  • Base URL
    https://api.assinafy.com.br
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

accountIdstring required

Workspace account ID.

envelopeIdstring required

The envelope ID.

Response

What happened to each document, in the envelope's order

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

Example response

{
  "status": 200,
  "data": [
    {
      "id": "615601fab04c0a3147bb1246",
      "status": "rejected_by_user",
      "cancelled": true
    }
  ]
}

Changes