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)
}