Authentication
The Shepherd API authenticates with two API keys plus a clinic identifier, all sent as request headers on every call. There is no OAuth flow and no Bearer token. This page orients you; the full authentication reference has the header table, key rotation, the per-clinic scope model, and a working “hello world” in all five supported languages.
How you get keys
Section titled “How you get keys”It depends who you are:
- Clinic accounts building on their own data self-serve keys from inside Shepherd (Admin → Integrations), once the open API feature is enabled. Don’t see the option? Ask your account manager to turn it on.
- Integration partners building for other clinics get keys from the Shepherd product team during onboarding: sandbox credentials first, then production once your integration is reviewed and a clinic agrees to enable it.
Either way, read keys from environment variables or a secrets manager; never hard-code them or ship them in mobile or browser code. If a key is exposed, your account manager can rotate it.
- Authentication reference: the header table, rotation, the per-clinic scope model, and a five-language “hello world”.
- Integration onboarding: the partner journey, start to finish.
- First integration tutorial: pull today’s appointments end to end.