Adds one document to the session's Document Signature module. Documents are shown in the order they are added. Limits: PDF or MARKDOWN, at most 10 documents per session, at most 10 MB each. Rejected once the session's documents are signed. Requires an executive or admin token of the session's organization and the interviewId parameter.
API reference, Electronic signature
Add a document to review and sign
POST
https://demo-api.incodesmile.com/omni/document-signature/documentsQuery parameters
Headers
Request body
application/json
Name shown to the user and printed on the signature page
PDF or MARKDOWN
enum
PDFMARKDOWNBase64 of the PDF bytes for PDF, the markdown text itself for MARKDOWN. Max 10 MB decoded.
Responses
Response body (application/json)
1-based position in which the documents are shown
enum
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.