Actions48
- Account Actions
- Blacklist Actions
- Campaign Actions
- Conversation Actions
- Custom Variable Actions
- Label Actions
- Lead Actions
- Template Actions
- Webhook Actions
Webhook → Create Webhook
AI-generatedSummary
Create a new webhook in Aimfox by specifying its name, target URL, the events that will trigger it, and whether it is for integration purposes.
Inputs
- Webhook Name (required) — The name to assign to the webhook.
- Webhook URL (required) — The endpoint URL where webhook payloads will be sent.
- Webhook Events (required) — The events that will trigger this webhook; multiple events can be selected from predefined options such as 'Campaign Created', 'Inmail Sent', 'Lead Label Added', etc.
- Integration (required) — Boolean flag indicating whether this webhook is for integration (generally should be false).
Output shape
a single record representing the created webhook including its details such as ID, name, URL, events, and integration status
The operation sends a POST request to the '/webhooks' endpoint with the specified parameters; the response contains the details of the newly created webhook. There is no pagination or batch behavior associated with this operation.
Examples
Example 1: Create a webhook named 'My Webhook' to listen for 'Campaign Created' and 'Message Sent' events, posting payloads to 'https://example\.com/webhook' with integration set to false.
Webhook Name: 'My Webhook', Webhook URL: 'https://example.com/webhook', Webhook Events: ['campaign_created','message'], Integration: false