Envelopes

Delete an envelope once every document of it is closed: certificated, declined, cancelled, expired or failed. Before that it answers 409 with code EnvelopeOpen: cancel it first. The envelope is gone: it is no longer listed and reads 404, and a create retried with its Idempotency-Key no longer answers it. Its documents stay as ordinary documents, with their certificates, downloads and webhooks; GET /v1/documents/{documentId}?expand=envelope_id reads null for them.

Copy as Markdown Open in ChatGPT Open in Claude

delete/v1/accounts/{accountId}/envelopes/{envelopeId}

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

Envelope deleted

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

Example response

{
  "status": 200,
  "data": []
}

Changes