client.sessions. They manage hosted verification sessions. Request and response schemas are documented in full on the linked REST endpoints — this page covers the SDK signatures, types, and examples.
create(input)
Returns
SessionCreateResult:
ValidationError, AuthenticationError, RateLimitError, DeepIDVError.
retrieve(sessionId)
Returns
SessionRetrieveResult:
sessionRecord is the full Session object — it carries status, sessionProgress, and an analysisData block with the document OCR, face-match, and liveness results. See Navigating analysis data for the walkthrough.
Throws ValidationError, AuthenticationError, NotFoundError, DeepIDVError.
list(params?)
Returns
PaginatedResponse<Session>:
updateStatus(sessionId, status)
VERIFIED, REJECTED, and VOIDED are valid targets — PENDING and SUBMITTED are managed by the API.
Returns
SessionRetrieveResult — the updated session details.
Throws ValidationError (invalid status), AuthenticationError, NotFoundError, DeepIDVError.