Sessions
Hosted intake session fields, lifecycle states, and integration guidance
Session Object
A session is the applicant-facing intake container. It stores the signed hosted URL, case type, linked case, answer state, document state, and submission status.
Common Fields
session_id: Klarefi session identifiersigned_url: Applicant URL returned byPOST /api/v1/sessionscase_type_id: Case type assigned to the sessioncase_id: Linked case identifier, currently the same value assession_idexternal_case_id: Your source-system referencestatus: Session lifecycle stateexpires_at: Session expiration timestamptrace_id: Optional integration correlation ID
Lifecycle
Create a session from trusted server-side code. Redirect the applicant to the signed URL. Subscribe to webhook events for state changes, and read current state from the API when you need the latest record.