Easymailing
Booking pages

List calendars for booking pages

GET /booking_calendars

GET/booking_calendars

Lists the Google calendars the user has connected and can use in a booking page: where booked meetings are created and which calendars block times.

When to use: Before creating or changing a page, to get the UUIDs for destination_calendar_resource_uuid and availability_calendar_resource_uuids. An empty list means the user has not connected a calendar.

When not to use: Only the user's own connected calendars appear; those of other users or of shared pages never do. Connecting Google is done by the user in the app, not by the API. To see the calendars meetings are read from, also those shared by colleagues, use list_meeting_calendars: a calendar is the same in both lists by its connection_uuid and calendar_id.

Filters: The list is not paginated. Calendars whose Google connection is disabled, revoked, without Calendar permission or removed in Google are left out.

Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Booking pages have no separate read permission, so it is also required to read. Pages belong to the user who owns the token: each user manages only their own pages, and a page of another user is answered as not found.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/booking_calendars" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "connection_uuid": "064e6067-9daf-4991-a9e8-389d4e1f45a0",    "calendar_id": "string",    "name": "string",    "account_email": "string",    "writable": true  }]