Overview
The Cliniko integration syncs your patient database, appointment history, and treatment information to enable intelligent patient reactivation campaigns.Prerequisites
Before connecting Cliniko, ensure you have:- Cliniko account with administrator access
- API access enabled in your Cliniko account
- Active Cliniko subscription
Setup Guide
1
Identify Your Cliniko Shard
Your Cliniko shard determines which data center your account is hosted on.Check your Cliniko URL to find your shard:
| Cliniko URL | Shard Code |
|---|---|
| au1.cliniko.com | au1 |
| au2.cliniko.com | au2 |
| au3.cliniko.com | au3 |
| au4.cliniko.com | au4 |
| us.cliniko.com | US |
2
Generate Cliniko API Key
- Log in to your Cliniko account
- Click your name in the top right corner
- Select My Info
- Navigate to the API Keys tab
- Click New API Key
- Give it a descriptive name:
Routiq Integration - Copy the API key - Cliniko only shows it once!
3
Connect in Routiq
- Log in to Routiq
- Navigate to Setup → Connect Cliniko (or Settings → Integrations → Cliniko)
- Select your Cliniko shard from the dropdown
- Paste your API key
- Click Connect and Sync
4
Wait for Initial Sync
The initial sync duration depends on your patient database size:
You’ll see a progress indicator during the sync. You can navigate away - the sync continues in the background.
| Practice Size | Estimated Time |
|---|---|
| < 500 patients | 1-2 minutes |
| 500-2,000 patients | 5-10 minutes |
| 2,000-5,000 patients | 10-20 minutes |
| > 5,000 patients | 20-30 minutes |
5
Verify Connection
Once the sync completes:
- Navigate to Patients in Routiq
- Verify your patient list appears
- Check that patient details match Cliniko
- Confirm appointment history is synced
Your Cliniko integration is now active!
What Data is Synced?
Patient Information
- Patient ID (Cliniko ID)
- Full name
- Email address
- Phone number
- Date of birth
- Gender
- Address
- Patient status (active/inactive/deceased)
- Patient notes (if configured)
Appointment Data
- Appointment ID
- Appointment date and time
- Practitioner
- Treatment type
- Appointment status (confirmed/cancelled/DNA)
- Appointment duration
- Location
Practice Information
- Practice name
- Business locations
- Practitioner list
- Treatment types
Data Sync Schedule
Real-time Updates (via Webhooks)
Routiq receives instant notifications when:- New patients are created
- Patient information is updated
- New appointments are booked
- Appointments are cancelled or rescheduled
- Patient status changes
Daily Full Sync
Every 24 hours, Routiq performs a full sync to ensure data consistency and catch any missed webhook events. Sync time: 2:00 AM in your practice timezone (configured during signup)Privacy & Security
Data Protection
- Encryption at rest: All patient data encrypted with AES-256
- Encryption in transit: TLS 1.3 for all API communications
- Row-level security: Users can only access data from their own practice
- Audit logs: All data access logged for compliance
API Key Security
- API keys are encrypted before storage
- Keys are never logged or exposed
- You can rotate keys anytime without data loss
Permissions Required
The Cliniko API key requires read-only access to:- Patients
- Appointments
- Practitioners
- Treatment types
- Business locations
Routiq never writes data back to Cliniko. The integration is read-only for security.
Troubleshooting
”Invalid API key” error
Possible causes:- API key was copied incorrectly (extra spaces, missing characters)
- API key was revoked in Cliniko
- API key doesn’t have required permissions
- Generate a new API key in Cliniko
- Ensure you copy the entire key without extra spaces
- Try connecting again
”Incorrect shard” error
Possible causes:- Wrong shard selected in Routiq
- Cliniko account migrated to different shard
- Check your current Cliniko URL
- Select the matching shard in Routiq
- Reconnect with your API key
Patients not appearing
Possible causes:- Initial sync still in progress
- Patients are archived/inactive in Cliniko
- API connection dropped during sync
- Wait for the initial sync to complete (check progress indicator)
- Verify patient status in Cliniko (active vs inactive)
- Try reconnecting the integration
Appointment history missing
Possible causes:- Appointments are older than sync period
- Appointments deleted in Cliniko
- Sync interrupted
- Routiq syncs appointments from the last 24 months by default
- Check if appointments exist in Cliniko
- Trigger a manual sync in Settings → Integrations → Cliniko → Resync Data
Managing the Integration
Updating API Key
If you need to rotate your API key:- Generate a new API key in Cliniko
- In Routiq, go to Settings → Integrations → Cliniko
- Click Update API Key
- Paste the new key
- Click Save
Disconnecting Cliniko
To disconnect:- Go to Settings → Integrations → Cliniko
- Click Disconnect
- Confirm the action
Manual Sync
If you need to force a sync (e.g., after bulk patient import in Cliniko):- Go to Settings → Integrations → Cliniko
- Click Sync Now
- Wait for the sync to complete
Webhooks
Routiq uses Cliniko webhooks for real-time updates. Webhooks are automatically configured when you connect your Cliniko account. Webhook events:patient.createdpatient.updatedpatient.deletedappointment.createdappointment.updatedappointment.deleted