List Webhooks
Returns all non-deleted webhooks in the current workspace. The endpoint is not paginated. The signing secret is not returned in list responses.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /webhook_endpoints
Request example
curl "$AGENTSTUDIO_URL/webhook_endpoints" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fieldsdata Array of Webhook objects data[].id Webhook ID data[].description Description data[].url Callback URL data[].events Subscribed named event types data[].status Webhook status: data[].disabled_reason Disable reason; data[].consecutive_fail Current consecutive failure count data[].last_success_at Last successful delivery time data[].last_failure_at Last failed delivery time data[].created_at Creation time, ISO 8601 data[].updated_at Last update time, ISO 8601 request_id Unique request identifier | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 401 | InvalidApiKey | Invalid API-key provided. |