Halaxy Setup
Connect your Halaxy practice management system to QuackChat for live appointment availability. Halaxy uses a FHIR-compliant API, making integration straightforward and self-service.
Prerequisites
- A QuackChat account on the Pro plan or above
- Halaxy account with admin access
- A credit card for the Halaxy API add-on (30-day free trial available)
Step 1: Purchase the API Add-on
Halaxy's API access requires a paid add-on subscription:
- Log in to your Halaxy account
- Navigate to Settings > Add-ons
- Find the API add-on
- Subscribe (approximately $27-33 AUD/month, with a 30-day free trial)
The API add-on is billed separately from your main Halaxy subscription.
Step 2: Create an API Key
- Go to developers.halaxy.com
- Log in with your Halaxy account credentials
- Navigate to the API keys section
- Click Create New API Key
- Name it something descriptive (e.g. "QuackChat Integration")
Step 3: Configure Permissions
Grant the minimum required permissions for QuackChat to query availability:
| Resource | Permissions | Purpose |
|---|---|---|
| Appointment | Read, $find | Query existing and available appointments |
| Practitioner | Read | List practitioners and their details |
| PractitionerRole | Read | Map practitioners to roles and locations |
| HealthcareService | Read | List available services and appointment types |
| Schedule | Read | Access practitioner schedules |
| Slot | Read | Query available time slots |
Principle of least privilege: Only grant the permissions listed above. QuackChat never needs write access to your Halaxy data.
Step 4: Copy Your Credentials
After creating the API key, you will see:
- Client ID: a unique identifier for your API key
- Client Secret: a secret value (shown only once)
Important: Copy the Client Secret immediately. Halaxy only shows it once during creation. If you lose it, you'll need to create a new API key.
Step 5: Enter Credentials in QuackChat
-
Open your bot's workspace in QuackChat
-
Go to Integrations and create a new PMS connection
-
Select Halaxy as the provider
-
Set the connection mode to Live Availability
-
Enter your credentials:
- Client ID: paste the Client ID from Halaxy
- Client Secret: paste the Client Secret from Halaxy
-
Save the connection
Step 6: Test the Connection
- Click Test Connection in QuackChat to verify connectivity
- A successful test will show a green "Healthy" status
- Try asking your bot about appointment availability to confirm end-to-end functionality
Step 7: Configure Webhooks (Optional)
Webhooks allow Halaxy to notify QuackChat of changes in real-time (e.g., cancelled appointments):
- In Halaxy, go to Settings > Integrations > Webhooks
- Click Add Webhook
- Enter the QuackChat webhook URL (provided in your integration settings)
- In the Authentication Header field, paste the webhook secret QuackChat showed when the connection was created (contact support if you need it re-issued. Rotating it invalidates the old value immediately)
- Select the events you want to receive notifications for:
- Appointment created
- Appointment updated
- Appointment cancelled
- Save the webhook
Webhooks are optional but recommended for keeping availability data fresh without polling. The authentication header lets QuackChat verify deliveries really come from your Halaxy account. Without it, the events are ignored.
Halaxy FHIR API Details
Halaxy implements the HL7 FHIR R4 standard. QuackChat uses the following FHIR resources:
Slot: available appointment time slotsSchedule: practitioner schedules and availability windowsPractitioner: clinician detailsPractitionerRole: practitioner-location-service associationsHealthcareService: appointment types and service categoriesAppointment: existing appointments (for conflict detection)
Troubleshooting
"401 Unauthorized" errors
- Verify your Client ID and Client Secret are correct
- Confirm the API add-on subscription is active in Halaxy Settings
- Check that you haven't exceeded API rate limits
"403 Forbidden" on specific resources
- Review the permissions on your API key at developers.halaxy.com
- Ensure all six required resource permissions are granted (Appointment, Practitioner, PractitionerRole, HealthcareService, Schedule, Slot)
No available slots returned
- Verify practitioners have schedules configured in Halaxy
- Check that appointment types are set up and linked to practitioners
- Ensure the Halaxy calendar has availability for the dates being queried
Connection test passes but bot shows no availability
- Confirm at least one practitioner has open slots in the Halaxy calendar
- Check that services are configured and associated with practitioners
- Verify the operating hours in QuackChat align with your Halaxy schedule settings
API add-on expired
- If the Halaxy API add-on subscription lapses, all API calls will fail
- Renew the subscription in Settings > Add-ons and the connection will resume
Auto-disabled connection (5 consecutive failures)
- The connection will auto-disable after 5 consecutive sync failures
- Fix the underlying issue, then re-enable the connection using the Active toggle
- Click Test Connection to verify before re-enabling