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

# Cal.com (v2)

> Integrate your application with the Cal.com API using an API key

## 🚀 Quickstart

Connect to Cal.com (v2) and see data flow in 2 minutes.

<Steps>
  <Step title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) → *Configure New Integration* → *Cal.com (v2)*.
  </Step>

  <Step title="Add a connection">
    Go to [Connections](https://app.nango.dev/dev/connections) → *Add Test Connection*, then enter your Cal.com API key. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the Cal.com API">
    Make your first request to the Cal.com API. Replace the placeholders below with your [Environment API key](/docs/reference/backend/http-api/api-keys), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/me" \
          -H "Authorization: Bearer <NANGO-API-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>"
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });

        const res = await nango.get({
            endpoint: '/me',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>'
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch credentials with the [Node SDK](/docs/reference/sdks/node#get-a-connection-with-credentials) or [API](/docs/reference/api/connection/get).

    ✅ You're connected. Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app">
    Follow the [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.
  </Step>
</Steps>

## 📚 Cal.com (v2) Integration Guides

Nango-maintained guides for common use cases.

* [How to receive Cal.com webhooks](/docs/api-integrations/cal-com-v2/webhook)\
  Learn how to set up Cal.com webhooks with Nango

Official docs: [Cal.com API documentation](https://cal.com/docs/enterprise-features/api/api-reference)

## 🧩 Pre-built syncs & actions for Cal.com (v2)

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

| Function name                  | Description                                           | Type                                           | Source code                                                                                                                             |
| ------------------------------ | ----------------------------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `cancel-booking`               | Cancel a Cal.com booking.                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/cancel-booking.ts)               |
| `create-availability-schedule` | Create an availability schedule in Cal.com.           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/create-availability-schedule.ts) |
| `create-booking`               | Create a booking in Cal.com                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/create-booking.ts)               |
| `create-event-type`            | Create an event type in Cal.com.                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/create-event-type.ts)            |
| `create-team`                  | Create a team in Cal.com.                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/create-team.ts)                  |
| `create-webhook`               | Create a webhook in Cal.com.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/create-webhook.ts)               |
| `delete-availability-schedule` | Delete an availability schedule in Cal.com.           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/delete-availability-schedule.ts) |
| `delete-event-type`            | Delete an event type in Cal.com.                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/delete-event-type.ts)            |
| `delete-team`                  | Delete a team in Cal.com.                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/delete-team.ts)                  |
| `delete-webhook`               | Delete a webhook in Cal.com.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/delete-webhook.ts)               |
| `get-availability-schedule`    | Retrieve a single availability schedule from Cal.com. | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/get-availability-schedule.ts)    |
| `get-booking`                  | Retrieve a single booking from Cal.com.               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/get-booking.ts)                  |
| `get-event-type`               | Retrieve a single event type from Cal.com.            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/get-event-type.ts)               |
| `get-team`                     | Retrieve a single team from Cal.com.                  | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/get-team.ts)                     |
| `get-webhook`                  | Retrieve a single webhook from Cal.com.               | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/get-webhook.ts)                  |
| `list-availability-schedules`  | List availability schedules from Cal.com.             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-availability-schedules.ts)  |
| `list-bookings`                | List bookings from Cal.com.                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-bookings.ts)                |
| `list-calendars`               | List calendars from Cal.com.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-calendars.ts)               |
| `list-event-types`             | List event types from Cal.com.                        | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-event-types.ts)             |
| `list-teams`                   | List teams from Cal.com.                              | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-teams.ts)                   |
| `list-webhooks`                | List webhooks from Cal.com.                           | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/list-webhooks.ts)                |
| `reschedule-booking`           | Reschedule a Cal.com booking.                         | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/reschedule-booking.ts)           |
| `update-availability-schedule` | Update a availability schedule in Cal.com.            | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/update-availability-schedule.ts) |
| `update-booking`               | Update a booking in Cal.com.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/update-booking.ts)               |
| `update-event-type`            | Update an event type in Cal.com.                      | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/update-event-type.ts)            |
| `update-team`                  | Update a team in Cal.com.                             | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/update-team.ts)                  |
| `update-webhook`               | Update a webhook in Cal.com.                          | [Action](/docs/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/actions/update-webhook.ts)               |
| `availability-schedules`       | Sync availability schedules from Cal.com.             | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/availability-schedules.ts)         |
| `bookings`                     | Sync bookings from Cal.com                            | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/bookings.ts)                       |
| `calendars`                    | Sync calendars from Cal.com.                          | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/calendars.ts)                      |
| `event-types`                  | Sync event types from Cal.com                         | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/event-types.ts)                    |
| `events`                       | Retrieve all upcoming events per a user               | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/events.ts)                         |
| `teams`                        | Sync teams from Cal.com.                              | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/teams.ts)                          |
| `webhooks`                     | Sync webhooks from Cal.com                            | [Sync](/docs/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/cal-com-v2/syncs/webhooks.ts)                       |

***
