Bearer authentication
For operations that use HTTP bearer authentication, send the integration token in the request header:Choose an integration account
Use an account assigned to the integration and confirm its organization, permissions, and licensing with your administrator and Nimbo. Grant only the access the workflow needs. The password grant below expects a Nimbo account password. A Google sign-in session or Google access token cannot replace that password in this request. If the account uses Google sign-in or two-factor authentication, confirm the supported setup with Nimbo before changing its sign-in settings.Obtain an integration token
For integrations approved to use an account’s password grant, send the account email asusername to POST /oauth/token. These examples use the quickstart base URL, including /api/v1. Load NIMBO_USERNAME and NIMBO_PASSWORD from your secure environment.
access_token, token_type, expires_in, refresh_token, and created_at. Use the returned expiry rather than hard-coding a token lifetime. Store and reuse the token instead of requesting a new one for every API call.
Accounts with two-factor authentication can receive a 403 response with token_type: "2fa" instead of an access token. Confirm the supported authentication flow with Nimbo for those accounts; repeating the password request does not complete verification.
Refresh an integration token
When a refresh token was issued, exchange it at the same endpoint. LoadNIMBO_REFRESH_TOKEN securely from the earlier response.
Patient portal tokens
Patient portal access uses phone verification through/patient_portal/auth and /patient_portal/validate. The validation response contains token, not the integration OAuth response’s access_token. Use it only for the patient portal and the people authorized by that session. Follow the patient portal workflow.