Skip to main content
Finish two-step file 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 files belong to, as handed out when the signing was started.

Example:

"sign:session:9f2c4e1b7a0d63855c1e8f04b2d97a63e5108c4fbd26a7391e0c58d4a6b7f213"

signedFiles
object[]
required

The signed files, one entry for each file the session handed out, each pairing the uploaded signed file with the prepared one it replaces.

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 a standalone document timestamp on the uploaded files. The client returns a finished PDF whose signature can no longer be timestamped, so only the standalone one can be added, and it is appended only once the upload has passed verification.

Example:

false

Response

The uploaded files became the document's content and the document is recorded as signed.

status
string

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

Example:

"SUCCESS"