reference. Every case your workspace has is visible here: the ones /v1/kyc/verify and /v1/kyc/extract filed with a reference, the ones document requests opened, and the ones created in the console. These routes only read. Scope for all of them: cases:read.
All calls go to
https://app.sahlfinancial.com/api with Authorization: Bearer <key>. The environment is X-Sahl-Environment or ?environment= (sandbox by default): a case of the other environment is a 404. Reads are not metered and the Production go-live gate does not apply to them. Every call counts against the 60-calls-a-minute limit per key on the partner routes. Another workspace’s case answers the same 404 as a missing one.
List cases
next_cursor as cursor until has_more is false. decision is a reviewer’s decision (approved, refused or manual_review) and is null until one is taken.
Get a case
GET /v1/partner/cases/{case_id} and GET /v1/partner/cases/by-reference/{reference} return the summary above plus:
For the score in more depth, see Scoring.
Documents of a case
integrity.level is clean, info, notice or review: the signals are reasons to look, never a refusal (see KYC policy and document integrity). extraction is null while the document is not read yet.
One document, with its fields
GET /v1/partner/cases/{case_id}/documents/{document_id} returns the summary above plus:
status is valid, needs_review, corrected or missing. warnings lists pages or reads that did not go through (code, page, message). These are extracted values: treat them as personal data.
Download the original file
Content-Disposition) with X-Content-Type-Options: nosniff. Each download is written to the audit log with the key that made it. A document whose original file is not available answers 404 file_not_available.