Actions42
- Agent Actions
- Channel Actions
- Chat Actions
- Intention Actions
- Interaction Actions
- Training Actions
- Workspace Actions
Agent → Update Webhooks
AI-generatedSummary
Updates agent webhooks via PUT /v2/agent/{agentId}/webhooks
Inputs
- agentId (required) — Select the agent. Choose from the list, or specify an ID using an expression.
- webhooks (required) — Only the webhook URLs you add here will be sent to the API
Output shape
The API response from PUT /v2/agent/{agentId}/webhooks. At least one webhook URL must be non-empty; if all are empty, the operation throws an error. Empty string values are stripped from the request body.
The webhooks parameter is a fixed collection with 8 optional string fields: onCancelEvent, onCreateEvent, onFinishInteraction, onFirstInteraction, onLackKnowLedge, onNewMessage, onStartInteraction, onTransfer. Only provided non-empty URLs are included in the PUT request body.