Every request needs a Client ID and Client secret. The practice administrator creates the API client. Credentials are scoped to one practice. This API does not use staff passwords or OAuth access tokens.
All traffic is HTTPS.
Get credentials
Ask the administrator for:
- Client ID - GUID from OnboardMe practice settings
- Client secret - paired secret; rotate it if it leaks
Treat the secret like a password. Do not embed it in a browser app or a public repo.
Two equivalent methods
Username = Client ID, password = Client secret. Useful in Postman and Swagger Authorize.
Do not mix methods on the same request. Pick one and use it everywhere.
Validate
Call GET /api/v1/auth/validate during setup, after a credential change, or when debugging. Do not call it before every other request. It is not a session token endpoint.
If canWrite is false, every write route returns 403 Forbidden. Enable write access on the API client, or keep the integration read-only.
Auth errors
See also Errors and rate limits.