Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Webhooks → Create A Webhook

AI-generated

Summary

Create a webhook subscription on a specified Coghub account, registering a target URL to receive specified event notifications.

Inputs

  • Account Id (required) — The numeric ID of the Coghub account to create the webhook for.
  • Url (required) — The URL endpoint where the subscribed event notifications will be sent.
  • Name — An optional name to identify the webhook.
  • Subscriptions — A JSON array specifying the event types to subscribe to, such as conversation_created or conversation_status_changed.
  • Request Options — Optional HTTP request settings including batching configuration, SSL certificate validation bypass, proxy settings, and request timeout.

Output shape

a single JSON object representing the created webhook with its details as returned by the Coghub API.

The output contains the details of the newly created webhook including its ID and configuration. If the creation fails, an error will be returned.

Links

Discussion