List Webhooks

Updated at:

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

Response fields

dataarray<object>

Array of Webhook objects

data[].idstring

Webhook ID

data[].descriptionstring | null

Description

data[].urlstring

Callback URL

data[].eventsarray<string>

Subscribed named event types

data[].statusstring

Webhook status: ACTIVE or DISABLED

data[].disabled_reasonstring | null

Disable reason; null when not disabled

data[].consecutive_failinteger

Current consecutive failure count

data[].last_success_atstring | null

Last successful delivery time

data[].last_failure_atstring | null

Last failed delivery time

data[].created_atstring

Creation time, ISO 8601

data[].updated_atstring

Last update time, ISO 8601

request_idstring

Unique request identifier

Request example

curl "$AGENTSTUDIO_URL/webhook_endpoints" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response example

{
  "data": [
    {
      "id": "wep_01JXX7YQGPRPV1BZXA35QE7WDP",
      "description": "Production session events",
      "url": "https://example.com/managedagent/webhooks",
      "events": [
        "session.updated",
        "session.status_idled",
        "session.thread_terminated"
      ],
      "status": "ACTIVE",
      "disabled_reason": null,
      "consecutive_fail": 2,
      "last_success_at": "2026-08-06T10:05:00Z",
      "last_failure_at": "2026-08-06T10:10:00Z",
      "created_at": "2026-08-06T10:00:00Z",
      "updated_at": "2026-08-06T10:00:00Z"
    }
  ],
  "request_id": "8e1d16e4"
}

Error codes

HTTP statusError codeDescription
401InvalidApiKeyInvalid API-key provided.