Get Webhook
Updated at:
Retrieves the details of a single Webhook by ID. The signing secret is not returned in this response.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET
/webhook_endpoints/{id}Path parameters
idstringRequiredWebhook ID, format wep_<ULID>
Request example
curl "$AGENTSTUDIO_URL/webhook_endpoints/wep_01JXX7YQGPRPV1BZXA35QE7WDP" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fields
idstringWebhook ID, format wep_<ULID>
descriptionstring | nullDescription
urlstringCallback URL
eventsarray<string>Subscribed named event types
statusstringWebhook status: ACTIVE or DISABLED
disabled_reasonstring | nullDisable reason; null when not disabled
consecutive_failintegerCurrent consecutive failure count
last_success_atstring | nullLast successful delivery time
last_failure_atstring | nullLast failed delivery time
created_atstringCreation time, ISO 8601
updated_atstringLast update time, ISO 8601
request_idstringUnique request identifier
Response example
{
"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 status | Error code | Description |
|---|---|---|
| 404 | 11800001 | Webhook not found |
Is this page helpful?