Who Has Already Signed (API)

Modified on Sun, 29 Nov at 1:08 PM

In addition to the overall document status, you can find out how individual people stand — who has already signed or approved and who is still pending.

Listing signers

curl -H "x-api-key: VAS_API_KLIC" \
  https://api.signi.com/api/v2/contract/ID_DOKUMENTU/signIdentities/list

What gets returned — one item per person:

[
    {
        "docs_person": {
            "email": "vas@email.cz",
            "firstname": "…", "lastname": "…",
            "docs_role": "proposer"
        },
        "contract_role": "approve",
        "state": "not approved"
    },
    {
        "docs_person": {
            "email": "protistrana@email.cz",
            "firstname": "Jan", "lastname": "Novák",
            "docs_role": "counterparty"
        },
        "contract_role": "sign_type_a",
        "state": "not signed"
    }
]

The example is shortened — the items also carry additional attributes, including the status and docs_person.status states described below.

Key fields:

  • state — the status of the given person: signed / not signed, approved / not approved, stamped / not stamped.
  • docs_person.status — the status of the party within the envelope: new, waiting, waiting_to_assign, ready, completed, rejected (rejected = the party rejected the document).
  • status — the status of the signature itself: new, ready, signed, completed.
  • docs_role — proposer or counterparty.
  • contract_role — signing role; the value sign_type_a is the internal designation of the standard sign role.
  • min_sign_level / sign_level — the minimum signing level set by the proposer and the level of the configured or chosen method (simple / advanced / qualified; null = a specific method has been chosen, or the role does not sign). See Signing roles.

Recommendation for integrations: do not treat an unknown status value as an error — just log it. The sets of statuses may be extended in the future.

The reverse view: documents of a given signer

All documents in which a specific person is involved can be listed with:

curl -H "x-api-key: VAS_API_KLIC" \
  "https://api.signi.com/api/v1/contract/list/signer?email_signer=jan@email.cz&state=completed"
{ "contracts": [ { "id": 1234567, "state": "completed", "file_deleted": 0 } ] }

The state parameter is an optional filter (completed / draft / expired / pending).

Where to go next

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article