QamaqQamaq
GET

获取 webhook

/webhooks/{webhook_id}

根据 ID 返回特定 webhook。

参数

路径参数

名称类型描述
webhook_id必填
string

The webhook ID

代码示例

curl -X GET "https://api.qamaq.io/api/v1/webhooks/{webhook_id}" \
  -H "Authorization: Bearer qmq_your_api_key"

响应

200Webhook details

Response Body

{
id:string
name:string
url:string
events:string[]
has_secret:boolean
headers:object
is_active:boolean
last_triggered_at:string (date-time)
last_status:string
failure_count:integer
created_at:string (date-time)
updated_at:string (date-time)
}