Envelopes

The workspace's envelopes, the most recent first: each with its documents in order, their statuses and signers, and the counts by status.

Copy as Markdown Open in ChatGPT Open in Claude

get/v1/accounts/{accountId}/envelopes

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.

Query parameters

pageinteger
Example:1

Page number.

per-pageinteger
Example:25

Records per page: 20 by default, at most 50; a larger value answers 50 a page.

searchstring
Example:Contrato

Part of the envelope's name.

status'open' | 'closed'

open: envelopes with a document still open; closed: every document signed, declined, cancelled, expired or failed.

Response

The workspace's envelopes

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

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