Skip to main content
POST
创建任务

授权

Authorization
string
header
必填

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

请求体

application/json
user_id
string
必填

任务所有者的用户 ID。

contact_id
string
必填

联系人 ID。

type
string
必填

任务类型。

status
string
必填

任务状态。

due_at
string
必填

ISO 8601 格式的截止日期时间。

priority
string

任务优先级(默认:medium)。

title
string

可选标题。

响应

成功响应

task
object

已创建的任务(返回时)。