Skip to main content
Finish two-step digest signing of a document

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
sessionId
string
required

Signing session the signatures belong to, as handed out when the signing was started.

Example:

"sign:session:9f2c4e1b7a0d63855c1e8f04b2d97a63e5108c4fbd26a7391e0c58d4a6b7f213"

signedDigests
object[]
required

The signed digests, one entry for each digest the session handed out, each pairing the signature with the digest it was made over.

Minimum array length: 1
tsaServer
string | null

Name of the Time Stamping Authority server to request the timestamp from, as configured in settings. When left out, the account's default server is used. Naming one requires the set_tsa right; leaving it out does not. Rejected when no timestamp is being requested.

Maximum string length: 200
Pattern: ^[A-Za-z0-9._-]+$
Example:

"primary"

useTsa
boolean
default:false

Requests the trusted timestamps the account's timestamp type configures. They are obtained by this call rather than by the start one, because the prepared bytes the client signed must not carry a timestamp yet.

Example:

false

Response

The signatures were embedded and the document is recorded as signed.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"