Skip to main content
Start signing a shared document with the signer's own key

Path Parameters

version
integer
required

Version the recipient prepared their signature against. The signing is refused when the document has since changed in a way that touches it; a change that does not is taken in quietly.

Required range: x > 0
Example:

6

Query Parameters

otp
string

Authorization password for the share token. Required if the share is protected.

Example:

"553827"

shareToken
string
required

Share token used to access the shared resource.

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

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

Body

application/json
signatureProvider
enum<string>
required

Where the signer's key lives - a hardware token or their own certificate store. A qualified token is held to the stricter rules that go with it, and the certificate offered is checked against them.

Available options:
icaQualified,
icaSwStore
signatures
object[]
required

The signatures to be drawn into the document, one per place the recipient is signing.

Minimum array length: 1
annotations
object[]

Annotations the recipient fills in alongside their signatures.

certificate
string

The signer's public certificate, base64-encoded, for a recipient who has no account here to keep one on. It is held for this signing alone; the private key that goes with it never leaves the signer's device.

Maximum string length: 700000
Example:

"MIIDdzCCAl+gAwIBAgIE..."

certificateHash
string

Certificate to sign with, out of those kept on the signer's account. A recipient who has no account here sends the certificate itself instead.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

digestAlgorithm
enum<string>
default:SHA-256

Algorithm the digests handed back to the client are computed with.

Available options:
SHA-256,
SHA-512
Example:

"SHA-256"

images
object[]

Images the recipient places into the document alongside their signatures.

timezone
string

Timezone the times drawn into the document are written in.

Example:

"Europe/London"

Response

The document is prepared. Returns the session, when it expires, and one digest per file to be signed.

files
object[]
required

One entry for every prepared file of the document that awaits the signer's signature. A prepared file that received only annotations or images carries no signature of the signer, is finalized on the server and is not listed here.

sessionExpiration
string<date-time>
required

Moment at which the signing session and everything prepared in it expire.

sessionId
string
required

Identifier of the short-lived signing session that holds the whole prepared state until the signature comes back.

Example:

"sign:session:9f2c4e1b7a0d63855c1e8f04b2d97a63e5108c4fbd26a7391e0c58d4a6b7f213"