Create webhook subscriptions for an agent

View as MarkdownOpen in Claude
Create webhook subscriptions for a specific agent with selected event types

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

agentIdstringRequired
The ID of the agent to create subscriptions for

Request

This endpoint expects an object.
eventTypeslist of enumsRequired
Array of event types to subscribe to
Allowed values:
webhookIdstringRequired
The ID of the webhook to subscribe to

Response

Subscriptions created successfully
statusboolean or null
datastring or null
Success message

Errors