Create a webhook
create_webhookCreate a webhook subscription by providing a name, URL, and event types to receive event deliveries. Returns a signing secret to verify payloads.
Instructions
Create a webhook subscription. name and url (the HTTPS endpoint that will receive events) are required, along with events selecting which event types to deliver. The API returns a signing secret once on creation — store it to verify incoming payloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTPS endpoint that will receive event deliveries. | |
| name | Yes | A label for this webhook. | |
| events | Yes | The event subscription object selecting which event types this webhook receives. Call list_webhook_event_types for the available types and each payload shape. |