Returns the session's documents in order with their hash and signature timestamp, a presigned URL of the original and, once signed, a presigned URL of the signed PDF. MARKDOWN documents also carry their text inline. With a session token the session is the caller's; with an executive or admin token pass interviewId, and the response also carries the signature (type, typed name or image URL, time) once signed.
API reference, Electronic signature
List documents to review and sign
GET
https://demo-api.incodesmile.com/omni/document-signature/documentsQuery parameters
Headers
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.
DRAWN or TYPED
enum
DRAWNTYPEDName the user typed; null for a drawn signature
Presigned URL of the drawn signature image, valid one hour; null for a typed signature