Authentication
All requests to Dental API require authentication via API keys. Authentication credentials are provided when your integration account is created by Centaur Software.
Required headers
Every API request should include these headers.
x-api-key
and
org-id
are required;
Accept
is recommended but not currently enforced:
| Your API key | Authenticates the integrator. Provided by Centaur Software during account setup. |
| Organisation ID | Identifies which Dental4Web/Dental4Windows organisation to access. A single API key can be mapped to multiple organisations. |
|
| All responses are JSON regardless of this header. Sending it is recommended for forward compatibility, but it is not currently enforced: requests without it, or with a different value, still succeed. |
Multi-organisation model
Dental API isolates each organisation’s data, so a single API key can be authorised for several organisations without their data ever mixing:
- One API key, multiple organisations: A single integrator API key can be authorised to access data from multiple dental practices.
- Organisation isolation: The
org-idheader in each request determines which organisation’s data is returned. The API strictly enforces organisation isolation; you cannot access data for an organisation your key isn’t mapped to. - Request scoping: All data returned is scoped to the specified organisation only.
Sandbox environment
A sandbox environment is available for development and testing:
- Sandbox org-id: Use
Sandboxas yourorg-idvalue to route requests to the sandbox environment - Like-for-like: The sandbox environment mirrors production functionality (endpoints, response shapes, business rules). Rate limiting is the one exception: Sandbox currently runs with an elevated per-organisation override for test traffic, so it does not represent production rate-limit thresholds. See Rate Limits for details
- Test data: Contains realistic sample patient, appointment, and treatment records
- Safe testing: Ideal for developing and testing integrations before switching to production credentials
Example sandbox request
curl -X GET "https://api-uat.dental4web.com.au/api/v1/practitioners" \
-H "org-id: Sandbox" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json" Security best practices
- Keep credentials confidential: Never embed API keys in client-side code, mobile apps, or public repositories
- Use HTTPS only: All API traffic must use HTTPS. HTTP requests will be rejected
- Rotate keys periodically: Contact Centaur Software to rotate API keys if you suspect a compromise
- Minimal scope: Request access only to the organisations you need
API key lifecycle
- Keys do not expire on a fixed schedule. They remain valid until revoked.
- Rotation: contact Centaur Software to issue a new key.
- Revocation: keys can be revoked immediately on request. Revoked keys return HTTP 403 on the next request (see Authentication errors below).
- Storage: store keys in environment variables or a secrets manager. Never commit them to source control.
Authentication errors
403 Forbidden | Your | Confirmed live: the response body is the literal |
401 Unauthorized | Your |
|
400 Bad Request | Your API key does not have access to the specified | Confirmed live: |
400 Bad Request (no | The |
|
Example request
curl -X GET "https://api-uat.dental4web.com.au/api/v1/patients?patient_id=12345" \
-H "org-id: YOUR_ORG_ID" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json" On this page
- Authentication