Create webhook
create-webhookCreate a webhook subscription for a fax event and target URL. Optionally pass numbers (E.164, e.g. ["+17154578872"]) to fire only for those fax numbers; omit numbers to receive events for all numbers.
Side effects: creates webhook subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Event to subscribe to: fax_received, fax_sent, or fax_page_received. | |
| target | Yes | HTTPS (or HTTP) URL that will receive webhook callbacks. | |
| numbers | No | Optional E.164 fax numbers to filter on (JSON array). Example: ["+17154578872"]. Omit to receive events for all numbers. Empty list is invalid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |