跳转到主要内容
POST
Reference example

请求规范

  • 方法与路径: POST /apis/v1/social/calendar/events
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/calendar/events
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
accountId
string
必填

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
allDay
boolean
busy
boolean
calendarId
string

Defaults to the primary calendar.

conferencing
enum<string>
可用选项:
google_meet,
teams
description
string

HTML.

end
string

Exclusive for all-day events.

location
string
metadata
object
participants
object[]
Maximum array length: 100
recurrence
string[]

RRULE lines, e.g. RRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10.

Maximum array length: 5
reminders
object
start
string

ISO date-time, or a date (YYYY-MM-DD) for all-day events.

timezone
string

IANA zone the event is scheduled in. Default UTC.

title
string
Maximum string length: 1000
visibility
enum<string>
可用选项:
default,
public,
private

响应

The created event

data
object