Signing roles — who does what with the document (API)

Modified on Sun, 29 Nov at 1:08 PM

For each person in the document, you specify with the contract_role field what they do with the document — whether they sign it, approve it, or just receive it for information.

Overview of roles

Role What it means
sign Basic signature — handwritten signature in the app (drawn or uploaded). The most common choice; in API responses it is returned as sign_type_a.
approve Approves — the user agrees to the document but does not place a signature in it.
stamp Fast signature (formerly "Signature via SMS PIN") — the user verifies themselves with a code from an SMS; the document will then show text at the signature spot along the lines of "signed by Jan Novák on 23 Jan 2026".
sign_certificate Qualified certificate — requires signing with a qualified certificate.
sign_certificate_simple Simple certificate — accepts any certificate (for example a recognized or self-signed one).
sign_bank_id_sign Signs via Bank iD.
sign_remote_sign Remote qualified signature — a certificate stored with a signature service provider, see Signing via I.CA RemoteSign.
handy_signatur_sign Signature with the Austrian Handy-Signatur (mobile signature for Austria).
notice For information — the user receives the signed document by e-mail, or it appears in their workspace if they are registered. They do not sign or approve.

Minimum signature level instead of a specific method

Instead of a specific signing role, you can send min_sign_level for a signer — the minimum signature level. The signer then chooses the specific method themselves, any method of that level or higher. You send exactly one of the pair contract_role / min_sign_level.

Value Level Corresponding methods
simple Simple signature sign, stamp, sign_certificate_simple and higher
advanced Advanced signature sign_bank_id_sign and higher
qualified Qualified signature sign_certificate, sign_remote_sign, handy_signatur_sign
{
    "people": [
        { "is_proposer": true, "email": "vas@email.cz", "contract_role": "sign" },
        { "is_proposer": false, "email": "protistrana@email.cz", "min_sign_level": "advanced" }
    ]
}
  • The workspace must have a method of the given level enabled — otherwise you get the error "Workspace […] has no default sign method of level […]".
  • In the document detail and in the list of signers, min_sign_level is returned (the specified level; null = a specific method was chosen) and sign_level (the level of the set or chosen method).
  • The behavior from the app's perspective is described in Minimum signature level.

What to watch out for

  • Some roles must be enabled in the workspace — this concerns third-party signatures: certificate, Bank iD, remote signature, and Handy-Signatur. A disabled role returns the error "Contract role [role] is not enabled for this workspace" — see Errors and their solutions.
  • The sign, stamp, and certificate signature roles need a signature placement in the document; approve and notice have no placement.
  • Roles can be combined — e.g. the proposer approve, the counterparty sign_certificate. A nonsensical combination returns the error "Function … cannot be used for contract role …".

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