calcom-api by calcom/cal.com
npx skills add https://github.com/calcom/cal.com --skill calcom-api此技能为 AI 代理提供与 Cal.com API v2 交互的指导,实现日程安排自动化、预约管理和日历集成。
所有 API 请求应发送至:
https://api.cal.com/v2
| 环境变量 | 必需 | 描述 |
|---|---|---|
CAL_API_KEY | 是 | Cal.com API 密钥(以 cal_live_ 或 cal_test_ 为前缀)。用作所有 API 请求的 Bearer 令牌。从 设置 > 开发者 > API 密钥 生成。 |
CAL_CLIENT_ID | 否 | 用于代表他人管理用户的平台集成的 OAuth 客户端 ID。作为 x-cal-client-id 请求头发送。 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
CAL_SECRET_KEY | 否 | 用于平台集成的 OAuth 客户端密钥。作为 x-cal-secret-key 请求头发送。 |
CAL_WEBHOOK_SECRET | 否 | 用于通过 X-Cal-Signature-256 请求头验证 Webhook 负载签名的密钥。 |
所有 API 请求都需要通过 Bearer 令牌进行认证:
Authorization: Bearer cal_<your_api_key>
关于包括 OAuth/平台认证在内的详细认证方法,请参阅 references/authentication.md。
事件类型 定义了可预订的会议配置(时长、地点、可用性规则)。每个事件类型都有一个唯一的 slug,用于预订 URL。
预订 是当有人预订事件类型时创建的已确认预约。每个预订都有一个唯一的 UID 用于标识。
日程表 定义了用户何时可用于预订。用户可以拥有多个具有不同工作时间的日程表。
时段 表示基于事件类型配置和用户可用性可以预订的可用时间窗口。
此技能包含每个领域的详细 API 参考文档:
| 参考 | 描述 |
|---|---|
references/authentication.md | API 密钥和 OAuth 认证、速率限制、安全最佳实践 |
references/bookings.md | 创建、列出、取消、重新安排预订 |
references/event-types.md | 配置可预订的会议类型 |
references/schedules.md | 管理用户可用性日程表 |
references/slots-availability.md | 查询可用时段 |
references/calendars.md | 日历连接和繁忙时间 |
references/webhooks.md | 实时事件通知 |
在创建预订之前,请检查可用时段:
GET /v2/slots?startTime=2024-01-15T00:00:00Z&endTime=2024-01-22T00:00:00Z&eventTypeId=123
完整详情请参阅 references/slots-availability.md。
POST /v2/bookings
Content-Type: application/json
{
"start": "2024-01-15T10:00:00Z",
"eventTypeId": 123,
"attendee": {
"name": "John Doe",
"email": "john@example.com",
"timeZone": "America/New_York"
}
}
所有预订操作请参阅 references/bookings.md。
接收预订事件的实时通知:
POST /v2/webhooks
Content-Type: application/json
{
"subscriberUrl": "https://your-app.com/webhook",
"triggers": ["BOOKING_CREATED", "BOOKING_CANCELLED"]
}
可用触发器和负载格式请参阅 references/webhooks.md。
预订会议:检查时段 -> 创建预订 -> 存储预订 UID
重新安排:获取新时段 -> POST /v2/bookings/{uid}/reschedule
取消:POST /v2/bookings/{uid}/cancel 并可选提供原因
每周安装量
93
仓库
GitHub 星标数
40.5K
首次出现
2026年2月1日
安全审计
安装于
opencode81
codex79
claude-code78
gemini-cli77
github-copilot75
kimi-cli69
This skill provides guidance for AI agents to interact with the Cal.com API v2, enabling scheduling automation, booking management, and calendar integrations.
All API requests should be made to:
https://api.cal.com/v2
| Environment Variable | Required | Description |
|---|---|---|
CAL_API_KEY | Yes | Cal.com API key (prefixed with cal_live_ or cal_test_). Used as Bearer token for all API requests. Generate from Settings > Developer > API Keys. |
CAL_CLIENT_ID | No | OAuth client ID for platform integrations that manage users on behalf of others. Sent as x-cal-client-id header. |
CAL_SECRET_KEY | No | OAuth client secret for platform integrations. Sent as x-cal-secret-key header. |
CAL_WEBHOOK_SECRET | No | Secret for verifying webhook payload signatures via the X-Cal-Signature-256 header. |
All API requests require authentication via Bearer token:
Authorization: Bearer cal_<your_api_key>
For detailed authentication methods including OAuth/Platform authentication, see references/authentication.md.
Event Types define bookable meeting configurations (duration, location, availability rules). Each event type has a unique slug used in booking URLs.
Bookings are confirmed appointments created when someone books an event type. Each booking has a unique UID for identification.
Schedules define when a user is available for bookings. Users can have multiple schedules with different working hours.
Slots represent available time windows that can be booked based on event type configuration and user availability.
This skill includes detailed API reference documentation for each domain:
| Reference | Description |
|---|---|
references/authentication.md | API key and OAuth authentication, rate limiting, security best practices |
references/bookings.md | Create, list, cancel, reschedule bookings |
references/event-types.md | Configure bookable meeting types |
references/schedules.md | Manage user availability schedules |
references/slots-availability.md | Query available time slots |
references/calendars.md |
Before creating a booking, check available time slots:
GET /v2/slots?startTime=2024-01-15T00:00:00Z&endTime=2024-01-22T00:00:00Z&eventTypeId=123
See references/slots-availability.md for full details.
POST /v2/bookings
Content-Type: application/json
{
"start": "2024-01-15T10:00:00Z",
"eventTypeId": 123,
"attendee": {
"name": "John Doe",
"email": "john@example.com",
"timeZone": "America/New_York"
}
}
See references/bookings.md for all booking operations.
Receive real-time notifications for booking events:
POST /v2/webhooks
Content-Type: application/json
{
"subscriberUrl": "https://your-app.com/webhook",
"triggers": ["BOOKING_CREATED", "BOOKING_CANCELLED"]
}
See references/webhooks.md for available triggers and payload formats.
Book a meeting : Check slots -> Create booking -> Store booking UID
Reschedule : Get new slots -> POST /v2/bookings/{uid}/reschedule
Cancel : POST /v2/bookings/{uid}/cancel with optional reason
Weekly Installs
93
Repository
GitHub Stars
40.5K
First Seen
Feb 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
opencode81
codex79
claude-code78
gemini-cli77
github-copilot75
kimi-cli69
Azure RBAC 权限管理工具:查找最小角色、创建自定义角色与自动化分配
131,500 周安装
| Calendar connections and busy times |
references/webhooks.md | Real-time event notifications |