Detail document

Detail document

GET https://api.zapsign.com.br/api/v1/docs/{{doc_token}}/

This endpoint allows you to see all of your document's attributes such as status, signers, the original and signed file URL.

Path Parameters

Name
Type
Description

doc_token

string

Document token

Headers

Name
Type
Description

Authorization*

string

apiToken ahead of the "Bearer" text.

Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23

{
    "open_id": 5,
    "token": "eb9c367a-e62f-4992-8360-b0219deaeecc",
    "status": "pending",
    "name": "Contract",
    "original_file": "https://zapsign.s3.amazonaws.com/pdf/62xxxx7-d8fc-4392-8575-f3c46c3cfc7a/df6bac91-2766-4182-8c8b-ded5287e4c0f.pdf",
    "signed_file": null,
    "created_at": "2020-04-16T03:33:46.241747Z",
    "last_update_at": "2020-04-16T03:33:46.241775Z",
    "signers": [
        {
            "token": "921c115d-4a6e-445d-bdca-03fadedbbc0b",
            "status": "new",
            "name": "João da Silva",
            "email": "",
            "phone_country": "",
            "phone_number": "",
            "times_viewed": 0,
            "last_view_at": null,
            "signed_at": null
        },
        {
            "token": "07fb0a0a-4b7d-49a5-bd7b-4958265c4e46",
            "status": "new",
            "name": "Fulano Siclano",
            "email": "",
            "phone_country": "",
            "phone_number": "",
            "times_viewed": 0,
            "last_view_at": null,
            "signed_at": null
        }
    ]
}

The possible statuses for a document are:

  • pending

  • signed (all signatories signed the document)

The possible statuses of a signer are:

  • new (signer has been created)

  • link-opened (opened document link at least once)

  • signed (signed the document)

Tip: instead of consulting documents several times a day, use our webhooks. In addition to saving the computing power of our and your servers, you'll also be able to give feedback in real time to your user, not every N minutes.

Request

Response

Note: if you do a GET on an extra_doc token (extra document, not the main document), the response will be much shorter and will contain the main document token, for example:

Last updated

Was this helpful?