Channel Talk icon

Channel Talk

Send messages to Channel Talk

Webhook → Update

AI-generated

Summary

Update an existing webhook by specifying its unique ID and providing new values for its name, URL, API version, and event scopes.

Inputs

  • Webhook ID (required) — The unique identifier of the webhook to update.
  • Name (required) — Name of the webhook.
  • URL (required) — The URL to receive webhook events.
  • API Version (required) — API version for webhook payloads (e.g., "v5").
  • Scopes (JSON Array) (required) — JSON array of event scopes. Use ["*"] for all events. Available scopes: userChat.opened, message.created.userChat, message.created.teamChat, lead.upserted.contact, lead.upserted.subscription, lead.deleted, member.upserted.contact, member.upserted.subscription, member.deleted.

Output shape

a single updated webhook record in JSON format

You must provide all required inputs. The scopes input should be valid JSON representing an array of strings. The operation sends a PATCH request to update the webhook identified by the given Webhook ID.

Examples

Example 1: Update webhook to change name and URL for all event scopes with API version v5

Webhook ID as string, Name string (e.g., 'New Webhook Name'), URL string (e.g., 'https://example.com/webhook'), API Version 'v5', and Scopes JSON array string '["*"]'.

Links

Discussion