Access
- Your workspace is enabled for the partner KYC API. In Developers, API keys, the new-key form lists the
kyc:scopes. If it says the workspace is not enabled, request sandbox access: it is switched on per workspace by Sahl. The KYB, statements, webhook and document request scopes are open to every workspace. - One key per system, with the least scopes. A server that only verifies needs
kyc:verify. Onlykyc:extractspends reads. - Keys live in a secret manager on your server. No key in a browser, a mobile app or a repository. See Authentication.
- You rotated a key once in sandbox. Rotate with a grace period, deploy the successor, confirm the old key returns 401
API key expiredafter the grace period. - Test keys are revoked. Keys you pasted into the playground or Postman for testing are revoked in the key list.
- Optional: keys are bound to your Google service account. Then every call sends
X-Partner-Identity.
Partner document APIs
For/v1/kyb, /v1/statements, /v1/requests, /v1/partner/registry, /v1/partner/scoring and /v1/partner/policy. (Reads of cases, webhook deliveries, usage, request logs, me and errors have no Production gate.) They are open to every plan, and Production has one more step.
- You asked for Production access. In Settings, API, a workspace admin fills in the use case and the expected monthly volume. Sahl reviews it and the status shows on the same page. Until Sahl approves, every Production call answers 403
production_api_not_approved. Sandbox stays open meanwhile. - After approval, the usual Production rules apply. An active subscription; on the Free plan a verified work email (403
work_email_required); for a bank’s Free workspace, the 14-day Production trial from its creation (403production_trial_ended). - You know the quota. Every document counts against your plan’s monthly quota together with documents uploaded in the console: Free 10, Starter 300, Growth 1,000, Enterprise unlimited. A statement counts one document per started 10 pages. Past it: 429
usage_limit_reached. The quota is checked before anything is read, so a refused call costs nothing. - You send
X-Sahl-Environmenton every call, and handle 422environment_conflictif you also send the field. - You stay under 60 calls a minute per key on these routes and the other
/v1/partner/*routes (429rate_limit_exceededwithRetry-After). - A Moroccan workspace has named its data controller (Settings, Privacy and compliance) before it creates document requests: 409
privacy_controller_missingotherwise. - You tested with the specimens in Sandbox: a real document gets 422
sandbox_specimen_requiredthere.
Policy
- A KYC policy exists for
productionif you want rules other than the default. The policy is saved per client kind and per environment, so the sandbox policy does not carry over. Review it in Settings, KYC policy: thresholds, required documents, locked items. - You know which switches are locked. Send a call with
screen: falsein sandbox and readpolicy.overrides_refusedin the answer. - Your regime preset is what you expect. The
policy.sourceandpolicy.regimein an answer tell you which policy ran.
Integration
- Every call carries a stable
reference. 1 to 64 characters ofA-Z a-z 0-9 _ . : -, one per client, the same across/extract,/verify,/assessand/eid. Without it nothing is filed on your workspace and no webhook is sent. - You send
documents[]entries back unchanged. See How the calls fit together. - You branch on
critical_failuresandflags, not only onpassed. A file with warnings still haspassed: true. - You match checks by
id, not bylabel. - You handle
reader_unavailable: true. Retry later and do not treat it as a blank document. - You handle all three error shapes, including a 422 whose
detailis a list. See Errors. - You do not retry 4xx (except a rate-limit 429 with
Retry-After), and you retry 5xx with a capped backoff. There is no idempotency key. See Retries. - You log
X-Request-IDfrom each response and can find the call in Developers, Call log.
Limits
- You know your monthly read allowance (2,000 by default) and you handle 429
kyc_extract_cap_reached. Sandbox reads count against it too. - Your servers stay under 300 requests a minute per key (60 a minute per key on the KYB, statements, webhook and document request routes). Back off on
Retry-After. See Authentication. - Your upload step enforces the file rules before sending: 1 to 5 files, JPEG, PNG, WebP, TIFF or PDF, 30 MB each by default.
Webhooks, if you use them
- The endpoint is https and public. Add it in Developers, Webhooks, or with
POST /v1/partner/webhooks(scopewebhooks:manage), and press Test or callPOST /v1/partner/webhooks/{id}/test. See Webhook endpoints. - You stored the signing secret. It is shown once, when the endpoint is created.
- You verify
X-Sahl-Signature-V2on the raw body and reject old timestamps. See Webhooks. - Your handler is idempotent on
X-Sahl-Deliveryorevent_id, and answers 2xx quickly.
eID, if you use it
- Your workspace has an eID provider account. Without it,
POST /v1/kyc/eidreturns 404. - Your clients are Canadian. Other countries get 422.
- You use the same
referenceandenvironmentfor/eidand the later/verify. - You poll the check to the end and store the PDF within about seven days.
Console
- Your staff can see production data. The console shows production cases and documents on every plan. The Free plan includes 10 Production documents a month with no time limit, 5 users, and needs a verified work email (not Gmail or Yahoo); Starter and above get their plan quota. Sandbox reads specimen documents only, so test your real documents in Production.
- You sent a first production call with a fake client and found its case in Cases with environment
production. - Real documents go to production only. Use fake data in sandbox.