> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# cal-calendars

> Cal.com Calendars - calendars, conferencing, schedules, and availability slots

**Server path:** `/cal-calendars` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                                                          | Description                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [`cal_calendars_conferencing_controller_connect`](#cal_calendars_conferencing_controller_connect)                                                             | Connect your conferencing application       |
| [`cal_calendars_conferencing_controller_default`](#cal_calendars_conferencing_controller_default)                                                             | Set your default conferencing application   |
| [`cal_calendars_conferencing_controller_disconnect`](#cal_calendars_conferencing_controller_disconnect)                                                       | Disconnect your conferencing application    |
| [`cal_calendars_conferencing_controller_get_default`](#cal_calendars_conferencing_controller_get_default)                                                     | Get your default conferencing application   |
| [`cal_calendars_conferencing_controller_list_installed_conferencing_apps`](#cal_calendars_conferencing_controller_list_installed_conferencing_apps)           | List your conferencing applications         |
| [`cal_calendars_conferencing_controller_redirect`](#cal_calendars_conferencing_controller_redirect)                                                           | Get OAuth conferencing app auth URL         |
| [`cal_calendars_conferencing_controller_save`](#cal_calendars_conferencing_controller_save)                                                                   | Conferencing app OAuth callback             |
| [`cal_calendars_controller_check`](#cal_calendars_controller_check)                                                                                           | Check a calendar connection                 |
| [`cal_calendars_controller_check_ics_feed`](#cal_calendars_controller_check_ics_feed)                                                                         | Check an ICS feed                           |
| [`cal_calendars_controller_create_ics_feed`](#cal_calendars_controller_create_ics_feed)                                                                       | Save an ICS feed                            |
| [`cal_calendars_controller_delete_calendar_credentials`](#cal_calendars_controller_delete_calendar_credentials)                                               | Disconnect a calendar                       |
| [`cal_calendars_controller_get_busy_times`](#cal_calendars_controller_get_busy_times)                                                                         | Get busy times                              |
| [`cal_calendars_controller_get_calendars`](#cal_calendars_controller_get_calendars)                                                                           | Get all calendars                           |
| [`cal_calendars_controller_redirect`](#cal_calendars_controller_redirect)                                                                                     | Get OAuth connect URL                       |
| [`cal_calendars_controller_save`](#cal_calendars_controller_save)                                                                                             | Save Google or Outlook calendar credentials |
| [`cal_calendars_controller_sync_credentials`](#cal_calendars_controller_sync_credentials)                                                                     | Save Apple calendar credentials             |
| [`cal_calendars_destination_calendars_controller_update_destination_calendars`](#cal_calendars_destination_calendars_controller_update_destination_calendars) | Update destination calendars                |
| [`cal_calendars_schedules_controller_2024_06_11_create_schedule`](#cal_calendars_schedules_controller_2024_06_11_create_schedule)                             | Create a schedule                           |
| [`cal_calendars_schedules_controller_2024_06_11_delete_schedule`](#cal_calendars_schedules_controller_2024_06_11_delete_schedule)                             | Delete a schedule                           |
| [`cal_calendars_schedules_controller_2024_06_11_get_default_schedule`](#cal_calendars_schedules_controller_2024_06_11_get_default_schedule)                   | Get default schedule                        |
| [`cal_calendars_schedules_controller_2024_06_11_get_schedule`](#cal_calendars_schedules_controller_2024_06_11_get_schedule)                                   | Get a schedule                              |
| [`cal_calendars_schedules_controller_2024_06_11_get_schedules`](#cal_calendars_schedules_controller_2024_06_11_get_schedules)                                 | Get all schedules                           |
| [`cal_calendars_schedules_controller_2024_06_11_update_schedule`](#cal_calendars_schedules_controller_2024_06_11_update_schedule)                             | Update a schedule                           |
| [`cal_calendars_selected_calendars_controller_add_selected_calendar`](#cal_calendars_selected_calendars_controller_add_selected_calendar)                     | Add a selected calendar                     |
| [`cal_calendars_selected_calendars_controller_delete_selected_calendar`](#cal_calendars_selected_calendars_controller_delete_selected_calendar)               | Delete a selected calendar                  |
| [`cal_calendars_slots_controller_2024_09_04_delete_reserved_slot`](#cal_calendars_slots_controller_2024_09_04_delete_reserved_slot)                           | Delete a reserved slot                      |
| [`cal_calendars_slots_controller_2024_09_04_get_available_slots`](#cal_calendars_slots_controller_2024_09_04_get_available_slots)                             | Get available time slots for an event type  |
| [`cal_calendars_slots_controller_2024_09_04_get_reserved_slot`](#cal_calendars_slots_controller_2024_09_04_get_reserved_slot)                                 | Get reserved slot                           |
| [`cal_calendars_slots_controller_2024_09_04_reserve_slot`](#cal_calendars_slots_controller_2024_09_04_reserve_slot)                                           | Reserve a slot                              |
| [`cal_calendars_slots_controller_2024_09_04_update_reserved_slot`](#cal_calendars_slots_controller_2024_09_04_update_reserved_slot)                           | Update a reserved slot                      |

***

## cal\_calendars\_conferencing\_controller\_connect

Connect your conferencing application

**Parameters:**

| Parameter | Type   | Required | Default | Description                   |
| --------- | ------ | -------- | ------- | ----------------------------- |
| `app`     | string | Yes      | —       | Conferencing application type |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "app": {
        "type": "string",
        "description": "Conferencing application type",
        "enum": [
          "google-meet"
        ]
      }
    },
    "required": [
      "PCID",
      "app"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_default

Set your default conferencing application

**Parameters:**

| Parameter | Type   | Required | Default | Description                   |
| --------- | ------ | -------- | ------- | ----------------------------- |
| `app`     | string | Yes      | —       | Conferencing application type |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "app": {
        "type": "string",
        "description": "Conferencing application type",
        "enum": [
          "google-meet",
          "zoom",
          "msteams",
          "daily-video"
        ]
      }
    },
    "required": [
      "PCID",
      "app"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_disconnect

Disconnect your conferencing application

**Parameters:**

| Parameter | Type   | Required | Default | Description                   |
| --------- | ------ | -------- | ------- | ----------------------------- |
| `app`     | string | Yes      | —       | Conferencing application type |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "app": {
        "type": "string",
        "description": "Conferencing application type",
        "enum": [
          "google-meet",
          "zoom",
          "msteams"
        ]
      }
    },
    "required": [
      "PCID",
      "app"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_get\_default

Get your default conferencing application

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_list\_installed\_conferencing\_apps

List your conferencing applications

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_redirect

Get OAuth conferencing app auth URL

**Parameters:**

| Parameter         | Type   | Required | Default | Description                   |
| ----------------- | ------ | -------- | ------- | ----------------------------- |
| `app`             | string | Yes      | —       | Conferencing application type |
| `returnTo`        | string | Yes      | —       | Return To                     |
| `onErrorReturnTo` | string | Yes      | —       | On Error Return To            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "app": {
        "type": "string",
        "description": "Conferencing application type",
        "enum": [
          "zoom",
          "msteams"
        ]
      },
      "returnTo": {
        "type": "string",
        "description": "Return To"
      },
      "onErrorReturnTo": {
        "type": "string",
        "description": "On Error Return To"
      }
    },
    "required": [
      "PCID",
      "app",
      "returnTo",
      "onErrorReturnTo"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_conferencing\_controller\_save

Conferencing app OAuth callback

**Parameters:**

| Parameter | Type   | Required | Default | Description                   |
| --------- | ------ | -------- | ------- | ----------------------------- |
| `state`   | string | Yes      | —       | The state value               |
| `app`     | string | Yes      | —       | Conferencing application type |
| `code`    | string | Yes      | —       | The code value                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "state": {
        "type": "string",
        "description": "The state value"
      },
      "app": {
        "type": "string",
        "description": "Conferencing application type",
        "enum": [
          "zoom",
          "msteams"
        ]
      },
      "code": {
        "type": "string",
        "description": "The code value"
      }
    },
    "required": [
      "PCID",
      "state",
      "app",
      "code"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_check

Check a calendar connection

**Parameters:**

| Parameter  | Type   | Required | Default | Description        |
| ---------- | ------ | -------- | ------- | ------------------ |
| `calendar` | string | Yes      | —       | The calendar value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "calendar": {
        "type": "string",
        "description": "The calendar value",
        "enum": [
          "apple",
          "google",
          "office365"
        ]
      }
    },
    "required": [
      "PCID",
      "calendar"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_check\_ics\_feed

Check an ICS feed

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_create\_ics\_feed

Save an ICS feed

**Parameters:**

| Parameter  | Type      | Required | Default | Description                                        |
| ---------- | --------- | -------- | ------- | -------------------------------------------------- |
| `readOnly` | boolean   | No       | —       | Whether to allowing writing to the calendar or not |
| `urls`     | string\[] | Yes      | —       | An array of ICS URLs                               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "readOnly": {
        "type": "boolean",
        "description": "Whether to allowing writing to the calendar or not"
      },
      "urls": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "An array of ICS URLs"
      }
    },
    "required": [
      "PCID",
      "urls"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_delete\_calendar\_credentials

Disconnect a calendar

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                                     |
| ---------- | ------- | -------- | ------- | ------------------------------------------------------------------------------- |
| `calendar` | string  | Yes      | —       | The calendar value                                                              |
| `id`       | integer | Yes      | —       | Credential ID of the calendar to delete, as returned by the /calendars endpoint |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "calendar": {
        "type": "string",
        "description": "The calendar value",
        "enum": [
          "apple",
          "google",
          "office365"
        ]
      },
      "id": {
        "type": "integer",
        "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"
      }
    },
    "required": [
      "PCID",
      "calendar",
      "id"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_get\_busy\_times

Get busy times

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                        |
| ----------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------- |
| `loggedInUsersTz` | string | No       | —       | Deprecated: Use timeZone instead. The timezone of the user represented as a string |
| `timeZone`        | string | No       | —       | The timezone for the busy times query represented as a string                      |
| `dateFrom`        | string | No       | —       | The starting date for the busy times query                                         |
| `dateTo`          | string | No       | —       | The ending date for the busy times query                                           |
| `credentialId`    | number | Yes      | —       | Credential Id                                                                      |
| `externalId`      | string | Yes      | —       | External Id                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "loggedInUsersTz": {
        "type": "string",
        "description": "Deprecated: Use timeZone instead. The timezone of the user represented as a string"
      },
      "timeZone": {
        "type": "string",
        "description": "The timezone for the busy times query represented as a string"
      },
      "dateFrom": {
        "type": "string",
        "description": "The starting date for the busy times query"
      },
      "dateTo": {
        "type": "string",
        "description": "The ending date for the busy times query"
      },
      "credentialId": {
        "type": "number",
        "description": "Credential Id"
      },
      "externalId": {
        "type": "string",
        "description": "External Id"
      }
    },
    "required": [
      "PCID",
      "credentialId",
      "externalId"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_get\_calendars

Get all calendars

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_redirect

Get OAuth connect URL

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                           |
| ---------- | ------- | -------- | ------- | ----------------------------------------------------- |
| `calendar` | string  | Yes      | —       | The calendar value                                    |
| `isDryRun` | boolean | Yes      | —       | Is Dry Run                                            |
| `redir`    | string  | No       | —       | Redirect URL after successful calendar authorization. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "calendar": {
        "type": "string",
        "description": "The calendar value",
        "enum": [
          "office365",
          "google"
        ]
      },
      "isDryRun": {
        "type": "boolean",
        "description": "Is Dry Run"
      },
      "redir": {
        "type": "string",
        "description": "Redirect URL after successful calendar authorization."
      }
    },
    "required": [
      "PCID",
      "calendar",
      "isDryRun"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_save

Save Google or Outlook calendar credentials

**Parameters:**

| Parameter  | Type   | Required | Default | Description        |
| ---------- | ------ | -------- | ------- | ------------------ |
| `state`    | string | Yes      | —       | The state value    |
| `code`     | string | Yes      | —       | The code value     |
| `calendar` | string | Yes      | —       | The calendar value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "state": {
        "type": "string",
        "description": "The state value"
      },
      "code": {
        "type": "string",
        "description": "The code value"
      },
      "calendar": {
        "type": "string",
        "description": "The calendar value",
        "enum": [
          "office365",
          "google"
        ]
      }
    },
    "required": [
      "PCID",
      "state",
      "code",
      "calendar"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_controller\_sync\_credentials

Save Apple calendar credentials

**Parameters:**

| Parameter  | Type   | Required | Default | Description        |
| ---------- | ------ | -------- | ------- | ------------------ |
| `calendar` | string | Yes      | —       | The calendar value |
| `password` | string | Yes      | —       | The password value |
| `username` | string | Yes      | —       | The username value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "calendar": {
        "type": "string",
        "description": "The calendar value",
        "enum": [
          "apple"
        ]
      },
      "password": {
        "type": "string",
        "description": "The password value"
      },
      "username": {
        "type": "string",
        "description": "The username value"
      }
    },
    "required": [
      "PCID",
      "calendar",
      "password",
      "username"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_destination\_calendars\_controller\_update\_destination\_calendars

Update destination calendars

**Parameters:**

| Parameter                | Type   | Required | Default | Description                                                                                       |
| ------------------------ | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------- |
| `delegationCredentialId` | string | No       | —       | Delegation Credential Id                                                                          |
| `externalId`             | string | Yes      | —       | Unique identifier used to represent the specific calendar, as returned by the /calendars endpoint |
| `integration`            | string | Yes      | —       | The calendar service you want to integrate, as returned by the /calendars endpoint                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "delegationCredentialId": {
        "type": "string",
        "description": "Delegation Credential Id"
      },
      "externalId": {
        "type": "string",
        "description": "Unique identifier used to represent the specific calendar, as returned by the /calendars endpoint"
      },
      "integration": {
        "type": "string",
        "description": "The calendar service you want to integrate, as returned by the /calendars endpoint",
        "enum": [
          "apple_calendar",
          "google_calendar",
          "office365_calendar"
        ]
      }
    },
    "required": [
      "PCID",
      "externalId",
      "integration"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_create\_schedule

Create a schedule

**Parameters:**

| Parameter         | Type      | Required | Default | Description                                                                                                                                                                                                                                                                            |
| ----------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string    | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version.                                                                                                                                                                                    |
| `availability`    | object\[] | No       | —       | Each object contains days and times when the user is available. If not passed, the default availability is Monday to Friday from 09:00 to 17:00.                                                                                                                                       |
| `isDefault`       | boolean   | Yes      | —       | Each user should have 1 default schedule. If you specified `timeZone` when creating managed user, then the default schedule will be created with that timezone.     Default schedule means that if an event type is not tied to a specific schedule then the default schedule is used. |
| `name`            | string    | Yes      | —       | The name value                                                                                                                                                                                                                                                                         |
| `overrides`       | object\[] | No       | —       | Need to change availability for a specific date? Add an override.                                                                                                                                                                                                                      |
| `timeZone`        | string    | Yes      | —       | Timezone is used to calculate available times when an event using the schedule is booked.                                                                                                                                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      },
      "availability": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "days": {
              "type": "array",
              "enum": [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday"
              ],
              "items": {
                "type": "string"
              },
              "description": "Array of days when schedule is active."
            },
            "startTime": {
              "type": "string",
              "description": "startTime must be a valid time in format HH:MM e.g. 08:00"
            },
            "endTime": {
              "type": "string",
              "description": "endTime must be a valid time in format HH:MM e.g. 15:00"
            }
          },
          "required": [
            "days",
            "startTime",
            "endTime"
          ]
        },
        "description": "Each object contains days and times when the user is available. If not passed, the default availability is Monday to Friday from 09:00 to 17:00."
      },
      "isDefault": {
        "type": "boolean",
        "description": "Each user should have 1 default schedule. If you specified `timeZone` when creating managed user, then the default schedule will be created with that timezone.     Default schedule means that if an event type is not tied to a specific schedule then the default schedule is used."
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "overrides": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "description": "The date value"
            },
            "startTime": {
              "type": "string",
              "description": "startTime must be a valid time in format HH:MM e.g. 12:00"
            },
            "endTime": {
              "type": "string",
              "description": "endTime must be a valid time in format HH:MM e.g. 13:00"
            }
          },
          "required": [
            "date",
            "startTime",
            "endTime"
          ]
        },
        "description": "Need to change availability for a specific date? Add an override."
      },
      "timeZone": {
        "type": "string",
        "description": "Timezone is used to calculate available times when an event using the schedule is booked."
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "isDefault",
      "name",
      "timeZone"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_delete\_schedule

Delete a schedule

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version. |
| `scheduleId`      | number | Yes      | —       | Schedule Id                                                                                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      },
      "scheduleId": {
        "type": "number",
        "description": "Schedule Id"
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "scheduleId"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_get\_default\_schedule

Get default schedule

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      }
    },
    "required": [
      "PCID",
      "cal-api-version"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_get\_schedule

Get a schedule

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version. |
| `scheduleId`      | number | Yes      | —       | Schedule Id                                                                                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      },
      "scheduleId": {
        "type": "number",
        "description": "Schedule Id"
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "scheduleId"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_get\_schedules

Get all schedules

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      }
    },
    "required": [
      "PCID",
      "cal-api-version"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_schedules\_controller\_2024\_06\_11\_update\_schedule

Update a schedule

**Parameters:**

| Parameter         | Type      | Required | Default | Description                                                                                         |
| ----------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string    | Yes      | —       | Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version. |
| `scheduleId`      | number    | Yes      | —       | Schedule Id                                                                                         |
| `availability`    | object\[] | No       | —       | The availability value                                                                              |
| `isDefault`       | boolean   | No       | —       | Is Default                                                                                          |
| `name`            | string    | No       | —       | The name value                                                                                      |
| `overrides`       | object\[] | No       | —       | The overrides value                                                                                 |
| `timeZone`        | string    | No       | —       | Timezone identifier                                                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-06-11. If not set to this value, the endpoint will default to an older version."
      },
      "scheduleId": {
        "type": "number",
        "description": "Schedule Id"
      },
      "availability": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "days": {
              "type": "array",
              "enum": [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday"
              ],
              "items": {
                "type": "string"
              },
              "description": "Array of days when schedule is active."
            },
            "startTime": {
              "type": "string",
              "description": "startTime must be a valid time in format HH:MM e.g. 08:00"
            },
            "endTime": {
              "type": "string",
              "description": "endTime must be a valid time in format HH:MM e.g. 15:00"
            }
          },
          "required": [
            "days",
            "startTime",
            "endTime"
          ]
        },
        "description": "The availability value"
      },
      "isDefault": {
        "type": "boolean",
        "description": "Is Default"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "overrides": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "description": "The date value"
            },
            "startTime": {
              "type": "string",
              "description": "startTime must be a valid time in format HH:MM e.g. 12:00"
            },
            "endTime": {
              "type": "string",
              "description": "endTime must be a valid time in format HH:MM e.g. 13:00"
            }
          },
          "required": [
            "date",
            "startTime",
            "endTime"
          ]
        },
        "description": "The overrides value"
      },
      "timeZone": {
        "type": "string",
        "description": "Timezone identifier"
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "scheduleId"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_selected\_calendars\_controller\_add\_selected\_calendar

Add a selected calendar

**Parameters:**

| Parameter                | Type   | Required | Default | Description              |
| ------------------------ | ------ | -------- | ------- | ------------------------ |
| `credentialId`           | number | Yes      | —       | Credential Id            |
| `delegationCredentialId` | string | No       | —       | Delegation Credential Id |
| `externalId`             | string | Yes      | —       | External Id              |
| `integration`            | string | Yes      | —       | The integration value    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "credentialId": {
        "type": "number",
        "description": "Credential Id"
      },
      "delegationCredentialId": {
        "type": "string",
        "description": "Delegation Credential Id"
      },
      "externalId": {
        "type": "string",
        "description": "External Id"
      },
      "integration": {
        "type": "string",
        "description": "The integration value"
      }
    },
    "required": [
      "PCID",
      "credentialId",
      "externalId",
      "integration"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_selected\_calendars\_controller\_delete\_selected\_calendar

Delete a selected calendar

**Parameters:**

| Parameter                | Type   | Required | Default | Description              |
| ------------------------ | ------ | -------- | ------- | ------------------------ |
| `integration`            | string | Yes      | —       | The integration value    |
| `externalId`             | string | Yes      | —       | External Id              |
| `credentialId`           | number | Yes      | —       | Credential Id            |
| `delegationCredentialId` | string | No       | —       | Delegation Credential Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "integration": {
        "type": "string",
        "description": "The integration value"
      },
      "externalId": {
        "type": "string",
        "description": "External Id"
      },
      "credentialId": {
        "type": "number",
        "description": "Credential Id"
      },
      "delegationCredentialId": {
        "type": "string",
        "description": "Delegation Credential Id"
      }
    },
    "required": [
      "PCID",
      "integration",
      "externalId",
      "credentialId"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_slots\_controller\_2024\_09\_04\_delete\_reserved\_slot

Delete a reserved slot

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version. |
| `uid`             | string | Yes      | —       | The uid value                                                                                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version."
      },
      "uid": {
        "type": "string",
        "description": "The uid value"
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "uid"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_slots\_controller\_2024\_09\_04\_get\_available\_slots

Get available time slots for an event type

**Parameters:**

| Parameter                | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                                                           |
| ------------------------ | ------ | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cal-api-version`        | string | Yes      | —       | Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.                                                                                                                                                                                                                                                   |
| `bookingUidToReschedule` | string | No       | —       | The unique identifier of the booking being rescheduled. When provided will ensure that the original booking time appears within the returned available slots when rescheduling.                                                                                                                                                                       |
| `start`                  | string | Yes      | —       | Time starting from which available slots should be checked.        Must be in UTC timezone as ISO 8601 datestring.        You can pass date without hours which defaults to start of day or specify hours:       2024-08-13 (will have hours 00:00:00 aka at very beginning of the date) or you can specify hours manually like 2024-08-13T09:00:00Z. |
| `end`                    | string | Yes      | —       | Time until which available slots should be checked.      Must be in UTC timezone as ISO 8601 datestring.      You can pass date without hours which defaults to end of day or specify hours:     2024-08-20 (will have hours 23:59:59 aka at the very end of the date) or you can specify hours manually like 2024-08-20T18:00:00Z.                   |
| `organizationSlug`       | string | No       | —       | The slug of the organization to which user with username belongs or team with teamSlug belongs.                                                                                                                                                                                                                                                       |
| `teamSlug`               | string | No       | —       | The slug of the team who owns event type with eventTypeSlug - used when slots are checked for team event type.                                                                                                                                                                                                                                        |
| `username`               | string | No       | —       | The username of the user who owns event type with eventTypeSlug - used when slots are checked for individual user event type.                                                                                                                                                                                                                         |
| `eventTypeSlug`          | string | No       | —       | The slug of the event type for which available slots should be checked. If slug is provided then username or teamSlug must be provided too and if relevant organizationSlug too.                                                                                                                                                                      |
| `eventTypeId`            | number | No       | —       | The ID of the event type for which available slots should be checked.                                                                                                                                                                                                                                                                                 |
| `usernames`              | string | No       | —       | The usernames for which available slots should be checked separated by a comma.      Checking slots by usernames is used mainly for dynamic events where there is no specific event but we just want to know when 2 or more people are available.      Must contain at least 2 usernames.                                                             |
| `format`                 | string | No       | —       | Format of slot times in response. Use 'range' to get start and end times. Use 'time' or omit this query parameter to get only start time.                                                                                                                                                                                                             |
| `duration`               | number | No       | —       | If event type has multiple possible durations then you can specify the desired duration here. Also, if you are fetching slots for a dynamic event then you can specify the duration her which defaults to 30, meaning that returned slots will be each 30 minutes long.                                                                               |
| `timeZone`               | string | No       | —       | Time zone in which the available slots should be returned. Defaults to UTC.                                                                                                                                                                                                                                                                           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version."
      },
      "bookingUidToReschedule": {
        "type": "string",
        "description": "The unique identifier of the booking being rescheduled. When provided will ensure that the original booking time appears within the returned available slots when rescheduling."
      },
      "start": {
        "type": "string",
        "description": "Time starting from which available slots should be checked.        Must be in UTC timezone as ISO 8601 datestring.        You can pass date without hours which defaults to start of day or specify hours:       2024-08-13 (will have hours 00:00:00 aka at very beginning of the date) or you can specify hours manually like 2024-08-13T09:00:00Z."
      },
      "end": {
        "type": "string",
        "description": "Time until which available slots should be checked.      Must be in UTC timezone as ISO 8601 datestring.      You can pass date without hours which defaults to end of day or specify hours:     2024-08-20 (will have hours 23:59:59 aka at the very end of the date) or you can specify hours manually like 2024-08-20T18:00:00Z."
      },
      "organizationSlug": {
        "type": "string",
        "description": "The slug of the organization to which user with username belongs or team with teamSlug belongs."
      },
      "teamSlug": {
        "type": "string",
        "description": "The slug of the team who owns event type with eventTypeSlug - used when slots are checked for team event type."
      },
      "username": {
        "type": "string",
        "description": "The username of the user who owns event type with eventTypeSlug - used when slots are checked for individual user event type."
      },
      "eventTypeSlug": {
        "type": "string",
        "description": "The slug of the event type for which available slots should be checked. If slug is provided then username or teamSlug must be provided too and if relevant organizationSlug too."
      },
      "eventTypeId": {
        "type": "number",
        "description": "The ID of the event type for which available slots should be checked."
      },
      "usernames": {
        "type": "string",
        "description": "The usernames for which available slots should be checked separated by a comma.      Checking slots by usernames is used mainly for dynamic events where there is no specific event but we just want to know when 2 or more people are available.      Must contain at least 2 usernames."
      },
      "format": {
        "type": "string",
        "description": "Format of slot times in response. Use 'range' to get start and end times. Use 'time' or omit this query parameter to get only start time."
      },
      "duration": {
        "type": "number",
        "description": "If event type has multiple possible durations then you can specify the desired duration here. Also, if you are fetching slots for a dynamic event then you can specify the duration her which defaults to 30, meaning that returned slots will be each 30 minutes long."
      },
      "timeZone": {
        "type": "string",
        "description": "Time zone in which the available slots should be returned. Defaults to UTC."
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_slots\_controller\_2024\_09\_04\_get\_reserved\_slot

Get reserved slot

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                         |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `cal-api-version` | string | Yes      | —       | Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version. |
| `uid`             | string | Yes      | —       | The uid value                                                                                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version."
      },
      "uid": {
        "type": "string",
        "description": "The uid value"
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "uid"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_slots\_controller\_2024\_09\_04\_reserve\_slot

Reserve a slot

**Parameters:**

| Parameter             | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                  |
| --------------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cal-api-version`     | string | Yes      | —       | Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.                                                                                                                                                                                          |
| `eventTypeId`         | number | Yes      | —       | The ID of the event type for which slot should be reserved.                                                                                                                                                                                                                                  |
| `reservationDuration` | number | No       | —       | ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).              For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes.               |
| `slotDuration`        | number | No       | —       | By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this. |
| `slotStart`           | string | Yes      | —       | ISO 8601 datestring in UTC timezone representing available slot.                                                                                                                                                                                                                             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version."
      },
      "eventTypeId": {
        "type": "number",
        "description": "The ID of the event type for which slot should be reserved."
      },
      "reservationDuration": {
        "type": "number",
        "description": "ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).              For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes."
      },
      "slotDuration": {
        "type": "number",
        "description": "By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this."
      },
      "slotStart": {
        "type": "string",
        "description": "ISO 8601 datestring in UTC timezone representing available slot."
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "eventTypeId",
      "slotStart"
    ]
  }
  ```
</Expandable>

***

## cal\_calendars\_slots\_controller\_2024\_09\_04\_update\_reserved\_slot

Update a reserved slot

**Parameters:**

| Parameter             | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                  |
| --------------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cal-api-version`     | string | Yes      | —       | Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version.                                                                                                                                                                                          |
| `uid`                 | string | Yes      | —       | The uid value                                                                                                                                                                                                                                                                                |
| `eventTypeId`         | number | Yes      | —       | The ID of the event type for which slot should be reserved.                                                                                                                                                                                                                                  |
| `reservationDuration` | number | No       | —       | ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).              For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes.               |
| `slotDuration`        | number | No       | —       | By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this. |
| `slotStart`           | string | Yes      | —       | ISO 8601 datestring in UTC timezone representing available slot.                                                                                                                                                                                                                             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "cal-api-version": {
        "type": "string",
        "description": "Must be set to 2024-09-04. If not set to this value, the endpoint will default to an older version."
      },
      "uid": {
        "type": "string",
        "description": "The uid value"
      },
      "eventTypeId": {
        "type": "number",
        "description": "The ID of the event type for which slot should be reserved."
      },
      "reservationDuration": {
        "type": "number",
        "description": "ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).              For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes."
      },
      "slotDuration": {
        "type": "number",
        "description": "By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this."
      },
      "slotStart": {
        "type": "string",
        "description": "ISO 8601 datestring in UTC timezone representing available slot."
      }
    },
    "required": [
      "PCID",
      "cal-api-version",
      "uid",
      "eventTypeId",
      "slotStart"
    ]
  }
  ```
</Expandable>
