Get started
Authentication
API keys, the two header formats, scopes, revocation and rotation.
API keysLink to this section
Every request is authenticated with an organisation API key. A key belongs to one organisation, reads only that organisation’s data, and carries a set of scopes that decide which endpoints it may call.
- Keys look like
idt_live_followed by 48 hexadecimal characters. - IntelliDent stores only a hash of the key. The full key is shown once, when it is created, and cannot be recovered.
- The dashboard lists each key by name and prefix (the first 16 characters), with its scopes, creation date and when it was last used.
- The Public API is part of the Enterprise plan. A key stops working if the organisation leaves Enterprise or its account is suspended.
Sending the keyLink to this section
Send the key in either header. Use HTTPS; the API is not available over plain HTTP.
Authorization: Bearer YOUR_API_KEYX-API-Key: YOUR_API_KEYX-API-Key is used. Keys are never accepted in the URL or query string.ScopesLink to this section
Give each key the fewest scopes it needs. A request to an endpoint whose scope the key lacks returns 403 INSUFFICIENT_SCOPE. Scopes match exactly; there is no wildcard.
| Scope | Grants | Endpoints |
|---|---|---|
appointments:read | Appointments (scheduling fields only) | GET /api/v1/appointments |
patients:read | Patients (name, phone, email, status) | GET /api/v1/patients |
agents:read | AI agents | GET /api/v1/agents |
usage:read | Usage | GET /api/v1/usage |
Reserved for future write endpoints, and not offered when creating a key: patients:write, appointments:write, conversations:write. No endpoint accepts them today.
Creating and revoking keysLink to this section
The organisation’s owner or an admin manages keys in the dashboard under Settings → API. Other staff roles cannot see or create keys. IntelliDent staff cannot create keys while signed in to support your account.
- Create: choose Generate key, name it, tick its scopes, choose Create, and copy the key straight away.
- Revoke: choose the delete icon beside the key. Revocation is immediate: the next request with that key returns
401.
Keys created in the dashboard allow 60 requests per minute and do not expire. The platform also supports a higher limit (up to 600 per minute) and an expiry date of up to two years, but the dashboard does not offer these yet. Contact us if you need them.
Rotating a keyLink to this section
There is no single “rotate” action. Rotate without downtime like this:
- Create a new key with the same scopes.
- Deploy it to your integration and confirm requests succeed.
- Check the old key’s Last used date in the dashboard has stopped moving, then revoke it.
Rotate on a schedule, whenever someone with access to the key leaves, and at once if you suspect it was exposed.
Authentication errorsLink to this section
| Status | Code | Meaning | What to do |
|---|---|---|---|
| 401 | UNAUTHORIZED | No key in the request. | Send the Authorization or X-API-Key header. |
| 401 | INVALID_API_KEY | The key is unknown, revoked or expired. | Check for typos; create a new key if it was revoked. |
| 403 | INSUFFICIENT_SCOPE | The key lacks the endpoint’s scope. | Create a key with the scope. Scopes cannot be edited on an existing key. |
| 403 | PLAN_REQUIRED | The organisation is not on Enterprise. | Contact IntelliDent about your plan. |
| 403 | ACCOUNT_NOT_ACTIVE | The organisation’s account is not active, for example awaiting approval or suspended. | Contact IntelliDent. |
Keeping keys safeLink to this section
- Call the API only from servers you control. Never ship a key in a web page, browser extension, or mobile app.
- Keep keys in a secrets manager or environment variables, never in source control. If one is committed, revoke it at once.
- Use one key per integration, so you can revoke one without breaking the others, and so the request log shows which one made each call.
- Never paste a key into a support ticket, chat, or AI assistant. IntelliDent will never ask you for one.