List Integration Calendars
GET/api/integrations/:integration_id/calendars
List calendars for any calendar integration (Google Calendar or GHL).
This unified endpoint automatically detects the integration type and fetches calendars from the appropriate source. Returns a consistent format for all calendar types.
Args: integration_id: The integration ID (Google Calendar or GHL)
Returns: List of calendars with id and name fields
Example: GET /api/integrations/abc-123/calendars Returns: [ {"id": "primary", "name": "Primary Calendar"}, {"id": "work@example.com", "name": "Work Calendar"} ]
Request
Responses
- 200
- 404
- 422
Successful Response
Not found
Validation Error