Envelopes
Take document out of envelope
Changed onTake an open document out of the envelope: it is cancelled as cancelling the envelope cancels it, its owner, signers and copy receivers told in a notice naming the envelope, and it is no longer listed; the other documents carry on. Out of the envelope, GET /v1/documents/{documentId}?expand=envelope_id reads null for it; a signer whose invitation link was sent from it keeps reaching the envelope's other documents with that link, so it can't be deleted on its own (409 with code EnvelopeOpen) until every document of the envelope is closed. A document that is not in the envelope, or was taken out already, answers 404.
delete/v1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}
Request
- Base URLhttps://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.
documentIdstring required
Document ID.
Response
The envelope without the document
Example response
{
"status": 200,
"data": {
"resource": "envelope",
"id": "1a2f3c4d5e6f708192a3b4c5d6e",
"name": "Contrato de prestação de serviços",
"message": "Segue o contrato e seus anexos.",
"documents": [
{
"id": "615601fab04c0a3147bb1246",
"position": 1,
"name": "contrato.pdf",
"status": "pending_signature",
"artifacts": {
"original": "https://api.assinafy.com.br/v1/documents/615601fab04c0a3147bb1246/download/original",
"thumbnail": "https://api.assinafy.com.br/v1/documents/615601fab04c0a3147bb1246/thumbnail"
},
"signers": [
{
"id": "fa8c140cb49b79f940aab95fddd",
"full_name": "Ana Souza",
"email": "ana@example.com",
"whatsapp_phone_number": "+5548999990001",
"signed_at": "2026-11-06T14:30:00Z"
}
]
}
],
"counts": {
"certificated": 1,
"pending_signature": 2
},
"signing_urls": [
{
"url": "https://api.assinafy.com.br/v1/sign/doc1?email=joe@example.com"
}
],
"created_at": "2026-11-04T12:00:00Z"
}
}Changes
- info
endpoint added
- info