Takes either a drawn signature (signatureBase64) or a typed name (typedName) and produces one signed PDF per document: the original plus an appended signature page for PDF, the signature page alone for MARKDOWN. A typed name is rendered in a cursive font. Every document shares the returned signatureId. documentIds is optional and lists every document the user was shown; when sent and it does not match the session's documents nothing is signed and the call fails with "Documents changed, reload them". Calling again after success returns the existing signature. Session token only. Scroll-to-end is enforced by the SDK and reported through interview events.
Sign every document with one signature
https://demo-api.incodesmile.com/omni/document-signature/signQuery parameters
Headers
Request body
application/json
Base64 PNG of the handwritten signature drawn by the user. Exactly one of signatureBase64 and typedName is required
Name typed by the user instead of drawing; rendered in a cursive font on the signature page
Optional. documentId of every document the user was shown, as returned by GET /documents. When sent, the call is rejected if it does not match the session's current documents
Responses
Response body (application/json)
1-based position in which the documents are shown
PDFMARKDOWNLowercase hex SHA-256 of the original bytes, also printed on the signature page
Epoch millis of the signature, null until signed
Shared by every document signed in the same call
Markdown text, only for MARKDOWN documents
Presigned URL of the original, valid one hour
Presigned URL of the signed PDF: original plus signature page for PDF, the signature page alone for MARKDOWN. Null until signed.