Create a webhook endpoint
create_webhookRegister a public HTTPS URL to receive signed POST requests for selected events, enabling real-time updates for your wuapi account.
Instructions
Register a public https URL to receive events as signed POST requests. The signing secret is not returned through this tool, to keep it out of the conversation: the user reveals it in the wuapi dashboard (Webhooks, rotate the endpoint's secret) and stores it with their server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https URL that answers 2xx within 10 seconds. | |
| events | Yes | Event types to receive, such as `message.received`, `message.sent`, `message.failed`, `account.connected`, `account.disconnected`. | |
| projectId | No | Organization keys only: the project to create it in (id or `ext:<externalId>`). A project key always uses its own project. | |
| idempotencyKey | No | Optional. Reuse the same key when retrying this exact call: within 24 hours wuapi returns the first result instead of doing it twice. |