闲社服务运行正常AI智能体自动化平台
w

WhenToMeet 群组调度

技能标识:whentomeet

WhenToMeet group scheduling via public REST API.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.2
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

WhenToMeet 群组调度

WhenToMeet

基础URL: https://whentomeet.io/api/v1/
OpenAPI规范: https://whentomeet.io/api/openapi.json
认证方式: Authorization: Bearer skYOURAPIKEYHERE

请求/响应格式

请求格式:

  • - GET请求: 查询参数 (例如 ?limit=10&offset=0)
  • POST请求: 纯JSON主体 (例如 {title: 我的活动})
  • 无包装对象 - 直接发送纯JSON

响应格式:

  • - 所有响应返回包含ISO 8601日期字符串的纯JSON
  • 无信封或包装

日期格式: ISO 8601字符串 (例如 2026-03-14T14:00:00Z)

数据模型

活动对象

  • - id: UUID
  • title: 字符串 (1-255字符)
  • description: 字符串 (可选,最大4096字符)
  • status: PLANNING | FINALIZED
  • publicUrl: 活动页面的完整URL
  • organizerId: UUID
  • createdAt: ISO 8601时间戳
  • modificationPolicy: EVERYONE | ORGANIZER
  • outputCalendarId: UUID (可选,用于将活动最终确定到日历)
  • slotCount: 时间段数量

时间段对象

  • - id: UUID
  • eventId: UUID
  • startTime: ISO 8601时间戳
  • endTime: ISO 8601时间戳
  • timezone: IANA时区标识符 (可选,例如 Europe/Berlin)
  • availabilities: 参与者响应数组

创建活动

POST /api/v1/events

bash
curl -X POST https://whentomeet.io/api/v1/events \
-H Authorization: Bearer skYOURAPIKEYHERE \
-H Content-Type: application/json \
-d {
title: 我的活动,
description: 可选描述,
slots: [
{startTime: 2026-03-14T14:00:00Z, endTime: 2026-03-14T16:00:00Z},
{startTime: 2026-03-15T14:00:00Z, endTime: 2026-03-15T16:00:00Z}
],
modificationPolicy: EVERYONE
}

请求字段:

字段类型必填说明
title字符串是1-255字符
description
字符串 | 否 | 最大4096字符 |
| slots | 数组 | 是 | 至少1个时间段;每个包含startTime、endTime (ISO 8601),可选时区 |
| modificationPolicy | 字符串 | 否 | EVERYONE 或 ORGANIZER (默认) |
| outputCalendarId | 字符串 | 否 | 用于创建最终活动的日历UUID |

响应:
json
{
id: uuid,
title: 我的活动,
description: 可选描述,
status: PLANNING,
publicUrl: https://whentomeet.io/events/uuid,
slotCount: 2,
createdAt: 2026-03-14T14:00:00Z
}

列出活动

GET /api/v1/events

bash
curl -X GET https://whentomeet.io/api/v1/events?limit=10&offset=0&status=PLANNING \
-H Authorization: Bearer skYOURAPIKEYHERE

查询参数:

字段类型必填说明
limit数字否1-100,默认10
offset
数字 | 否 | 默认0 |
| status | 字符串 | 否 | PLANNING 或 FINALIZED |

响应:
json
[
{
id: uuid,
title: 我的活动,
description: ...,
status: PLANNING,
slotCount: 2,
publicUrl: https://whentomeet.io/events/uuid,
createdAt: 2026-03-14T14:00:00Z
}
]

获取活动详情

GET /api/v1/events/{eventId}

bash
curl -X GET https://whentomeet.io/api/v1/events/{eventId} \
-H Authorization: Bearer skYOURAPIKEYHERE

响应:
json
{
id: uuid,
title: 我的活动,
description: ...,
status: PLANNING,
organizerId: uuid,
createdAt: 2026-03-14T14:00:00Z,
modificationPolicy: EVERYONE,
outputCalendarId: null,
slots: [
{
id: uuid,
eventId: uuid,
startTime: 2026-03-14T14:00:00Z,
endTime: 2026-03-14T16:00:00Z,
availabilities: [
{
id: uuid,
slotId: uuid,
userId: null,
displayName: 张三,
status: available,
user: null
}
]
}
]
}

删除活动

DELETE /api/v1/events/{eventId}

bash
curl -X DELETE https://whentomeet.io/api/v1/events/{eventId} \
-H Authorization: Bearer skYOURAPIKEYHERE

响应:
json
{
success: true
}

其他接口

列出预订

GET /api/v1/bookings

bash
curl -X GET https://whentomeet.io/api/v1/bookings?limit=10&status=confirmed \
-H Authorization: Bearer skYOURAPIKEYHERE

查询参数:

  • - limit: 1-100,默认10
  • offset: 默认0
  • status: confirmed 或 cancelled

列出日历连接

GET /api/v1/calendar/connections

bash
curl -X GET https://whentomeet.io/api/v1/calendar/connections \
-H Authorization: Bearer skYOURAPIKEYHERE

列出所有已连接的日历账户(Google、Microsoft、CalDAV、iCal)。

获取活动统计

GET /api/v1/analytics/events

bash
curl -X GET https://whentomeet.io/api/v1/analytics/events?dateFrom=2026-01-01T00:00:00Z&dateTo=2026-03-13T23:59:59Z \
-H Authorization: Bearer skYOURAPIKEYHERE

查询参数:

  • - dateFrom: ISO 8601开始日期(可选,默认为30天前)
  • dateTo: ISO 8601结束日期(可选,默认为当前时间)

响应:
json
{
totalEvents: 42,
finalizedEvents: 28,
dateRange: {
from: 2026-01-01T00:00:00Z,
to: 2026-03-13T23:59:59Z
}
}

错误码

HTTP状态代码说明
400BAD_REQUEST无效输入(查看响应中的zodError获取字段详情)
401
UNAUTHORIZED | 缺少或无效的API密钥 | | 403 | FORBIDDEN | 权限不足或订阅等级不够 | | 404 | NOT_FOUND | 资源未找到或不属于您 | | 429 | TOOMANYREQUESTS | 超出速率限制 | | 500 | INTERNALSERVERERROR | 服务器错误 |

错误响应格式:
json
{
error: {
code: NOT_FOUND,
message: 活动未找到或访问被拒绝
}

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 whentomeet-1776285980 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 whentomeet-1776285980 技能

通过命令行安装

skillhub install whentomeet-1776285980

下载

⬇ 下载 whentomeet v1.0.2(免费)

文件大小: 5.39 KB | 发布时间: 2026-4-16 17:25

v1.0.2 最新 2026-4-16 17:25
Major update: Migrated WhenToMeet skill from private tRPC API to public REST API.

- Now uses the documented REST API (`/api/v1/`) with plain JSON inputs and outputs—no envelope/wrappers.
- Authentication updated to require Bearer tokens in the format `sk_YOUR_API_KEY_HERE`.
- Added full REST endpoint documentation with sample requests and clear field requirements.
- Expanded reference with booking, calendar, and analytics endpoints.
- Removed legacy CLI script and old quickstart/troubleshooting docs; added API reference.
- Response and error handling instructions updated to match new API behavior.
返回顶部