# Cal.com — Pipedream Connect

> Scheduling infrastructure for absolutely everyone.

- API slug: `cal_com` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Business Management
- Website: https://cal.com
- This page (HTML): https://pipedream.com/apps/cal-com
- Tools: 7 actions · 4 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: cal_com`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "cal_com",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Cancel Booking:
const result = await mcp.callTool({
  name: "cal_com-delete-booking",
  arguments: {
    bookingId: "Booking ID",
    cancellationReason: "Cancellation Reason",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Cal.com endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "cal_com-delete-booking",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cal_com: { authProvisionId: "apn_xxxxxxx" },
    bookingId: "Booking ID",
    cancellationReason: "Cancellation Reason",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (7)

### `cal_com-delete-booking` — Cancel Booking (Write)

Cancel an existing booking by its UID. Note: Cal.com v2 replaces the v1 delete endpoint with a cancellation flow; the booking is marked cancelled rather than removed. See the documentation

Full schema: https://pipedream.com/apps/cal-com/actions/delete-booking.md

### `cal_com-create-booking` — Create Booking (Write)

Create a new booking. See the documentation

Full schema: https://pipedream.com/apps/cal-com/actions/create-booking.md

### `cal_com-create-booking-v2` — Create Booking (V2) (Write)

Create a booking using Cal.com API v2 (Option 1). See documentation

Full schema: https://pipedream.com/apps/cal-com/actions/create-booking-v2.md

### `cal_com-get-all-bookings` — Get All Bookings (Read-only)

Retrieve all bookings from Cal.com. See the documentation

Full schema: https://pipedream.com/apps/cal-com/actions/get-all-bookings.md

### `cal_com-get-bookable-slots` — Get Bookable Slots (Read-only)

Retrieve available bookable slots between a datetime range. See the documentation

Full schema: https://pipedream.com/apps/cal-com/actions/get-bookable-slots.md

### `cal_com-get-booking` — Get Booking (Read-only)

Retrieve a booking by its UID. See the documentation

Full schema: https://pipedream.com/apps/cal-com/actions/get-booking.md

### `cal_com-list-event-type-id-options` — List Event Type ID Options (Read-only)

Retrieves available options for the Event Type ID field.

Full schema: https://pipedream.com/apps/cal-com/actions/list-event-type-id-options.md

## Triggers (4)

### `cal_com-booking-cancelled` — Booking Cancelled (Instant)

Emit new event when a booking is cancelled.

Full schema: https://pipedream.com/apps/cal-com/triggers/booking-cancelled.md

### `cal_com-booking-ended` — Booking Ended (Instant)

Emit new event when a booking ends.

Full schema: https://pipedream.com/apps/cal-com/triggers/booking-ended.md

### `cal_com-booking-rescheduled` — Booking Rescheduled (Instant)

Emit new event when a booking is rescheduled.

Full schema: https://pipedream.com/apps/cal-com/triggers/booking-rescheduled.md

### `cal_com-booking-created` — New Booking Created (Instant)

Emit new event when a new booking is created.

Full schema: https://pipedream.com/apps/cal-com/triggers/booking-created.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
