Skip to main content
POST
创建 webhook 端点

授权

Authorization
string
header
必填

Bearer 令牌身份验证

请求体

application/json
url
string<uri>
必填
name
string
Required string length: 1 - 120
events
enum<string>[]
Minimum array length: 1
可用选项:
job.created,
job.status_changed,
job.progress,
job.completed,
job.failed,
job.cancelled,
job.expired,
video.created,
video.status_changed,
video.progress,
video.completed,
video.failed,
video.cancelled,
video.expired,
batch.created,
batch.status_changed,
batch.progress,
batch.completed,
batch.failed,
batch.cancelled,
batch.expired

响应

webhook 端点已创建

id
string
必填
workspaceId
string
必填
name
string
必填
url
string
必填
status
enum<string>
必填
可用选项:
active,
disabled,
deleted
events
string[]
必填
hasSecret
boolean
必填
signing_secret
string
必填

仅在创建或轮换时返回。

createdBy
string | null
createdAt
string<date-time> | null
updatedAt
string<date-time> | null
deletedAt
string<date-time> | null
最后修改于 2026年10月2日