GPTMaker icon

GPTMaker

Consume GPTMaker API

Agent → Update Webhooks

AI-generated

Summary

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.

Links

Discussion