Calendar

List the caller's connected calendars

Returns the Google and Outlook calendars the caller connected in this company. With an API key, the caller is the member who created the key; other members' calendars are never returned. An empty list means no calendar is connected.

GET
/calendars/calendars

Returns the Google and Outlook calendars the caller connected in this company. With an API key, the caller is the member who created the key; other members' calendars are never returned. An empty list means no calendar is connected.

Authorization

x-api-key
x-api-key<token>

Company API key, created under Settings > API Keys.

In: header

Header Parameters

x-company-id?string

Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.

Match^[0-9a-fA-F]{24}$

Response Body

application/json

curl -X GET "https://example.com/calendars/calendars"
[  {    "awaitingAdminApproval": true,    "calendarProvider": "GOOGLE",    "email": "string",    "id": "string",    "info": "string",    "status": "ACTIVE",    "syncBusyTimes": true  }]