Issue: GHL Calendar Free Slots API returning empty response
We are trying to call the GHL calendar availability endpoint directly via API to use inside a Vapi voice assistant (bypassing GHL MCP which is confirmed broken/unstable).
Endpoint being called:
GET https:... cant put in here
Headers:
Authorization: Bearer pit-xxxx
Version: 2021-07-28
Parameters tried:
startDate and endDate as Unix timestamps (milliseconds)
startDate and endDate as Unix timestamps (seconds)
With and without timezone parameter
timezone as Australia/Sydney and Australia%2FSydney
Results every time:
Status 200 OK
Response body only contains {"traceId":"xxxx"} — no slot data
What we know:
Calendar ID is correct — MjoaIx5aUbVfz2XfQ--xxx
Calendar has availability set — 8am to 5pm every day Australia/Sydney
Booking page works perfectly in browser and shows available slots
API key is valid — other GHL API calls work fine with it
Question:
What is the correct way to call the free slots endpoint to return actual available time slots? Is there a different endpoint or parameter format required?