Documentation Index
Fetch the complete documentation index at: https://docs.veridianhp.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
The Veridian API uses API keys. Each request must carry a key in theAuthorization header.
Key formats
| Prefix | Environment | Capability |
|---|---|---|
vbk_sb_ | Sandbox | Test only |
vbk_live_ | Production | Real money moves |
How keys are issued
From the Veridian dashboard, open Settings → API keys and click Create key. You’ll be shown the full key exactly once. After that, only a fingerprint is stored — Veridian cannot recover a lost key. Lose it, revoke it, issue a new one. Each key is associated with a single practice. There is no concept of “organization-wide” keys.Scopes (coming soon)
Today, all keys are full-access for the issuing practice. Scoped keys (read-only, sessions-only, webhooks-only) are on the near roadmap. Until then, practice your principle of least privilege at the deploy boundary: production keys live only on production servers, never on developer laptops.Rotation
Recommended cadence: rotate every 90 days, or immediately on any of:- A team member with access to the key leaves
- The key may have been exposed (logs, a screenshot, a public commit)
- An anomaly appears in your audit log (see your dashboard)
- Create a new key in the dashboard.
- Deploy the new key to your environment.
- Confirm traffic is flowing on the new key (the dashboard shows per-key usage).
- Revoke the old key.
Revocation
Revoking a key takes effect within seconds. Revoked keys return401 unauthorized on the next request and cannot be reactivated.
Revocation is immediate and irreversible. If you revoked the wrong key,
issue a new one — you cannot un-revoke.
What gets logged
Every authenticated request appends a row to your practice’s audit log:- Timestamp
- API key fingerprint (not the key itself)
- Endpoint and HTTP method
- Outcome (success / specific failure)
- Request ID (so you can correlate with your own logs)
What’s never logged
- The full API key (only a fingerprint)
- Patient PHI in audit metadata
- Request or response bodies in detail (only endpoint and outcome)
What’s next
Sessions
The core endpoint family.
Errors
Auth error codes and recovery patterns.
