Accessible calendars PRERELEASE

Description #

When authenticated as an account that has granted delegated authorization through a Business Connect authorization request, a list of accessible calendars can be requested.

This list may be a subset of those accessible to the account as most calendar APIs do not provide the ability to enumerate all the calendars accessible by an account.

URL format #

Example request #

GET /v1/accessible_calendars?profile_id={PROFILE_ID} HTTP/1.1
Authorization: Bearer {ACCESS_TOKEN}

Example Response #

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

  "accessible_calendars": [
      "calendar_type": "resource",
      "email": "",
      "name": "Board room (London)"
      "calendar_type": "unknown",
      "email": "",
      "name": "Jane Doe"
      "calendar_type": "unknown",
      "email": "",
      "name": "Alpha Team"

Request parameters #

profile_id required  #

This specifies the ID of the profile you wish to retrieve accessible calendars for.

calendar_type optional  #

When specified, filters the response to calendars that have a matching calendar_type value.

Response parameters #

accessible_calendars.calendar_type  #

The type of the calendar, when known.

Currently one of:

  • resource
  • unknown

This value will be unknown unless we can be certain of the type of calendar, and may be expanded upon over time so you should tolerate values you do not recognize.  #

The email address for the calendar.

May be used to obtain access tokens for the calendar via Requesting Delegated Authorization.  #

The name defined for the calendar by the Business Connect account.