Skip to main content
Four read routes describe the key you call with and the workspace behind it. All calls go to https://app.sahlfinancial.com/api with Authorization: Bearer <key>. Nothing is written, so nothing is audit-logged and nothing is metered. Each call counts against the 60-calls-a-minute limit per key on the partner routes. A key bound to a service account must also send X-Partner-Identity.

Who am I: GET /v1/partner/me

Use it as a health check of an integration: a scope that is held but not usable, or a Production environment that is not available, explains a 403 before you hit it.

Usage: GET /v1/partner/usage

Takes environment (or X-Sahl-Environment): it filters the call counts. The two document meters are returned both, labelled.

Request log: GET /v1/partner/request-logs

The calling key’s recent calls, the same rows as the console’s call log, restricted to this key. No body and no header is kept or returned.
status_code 499 means the client went away. request_id is the X-Request-ID of the response: quote it to Sahl. error_code is a code from the catalogue below.

Error catalogue: GET /v1/partner/errors

errors[] lists every code the partner routes answer with: code (in detail.code), http_status, meaning (what it means and what to do), retry (whether the same call later can succeed) and where (which routes). notes lists the errors that come without a code (a missing, invalid or expired key answers 401 with a plain-string detail). Fetch it instead of hard-coding the list: it is the authoritative table, and the errors page groups the same codes by status.