Aimfox webhooks
Aimfox webhooks are JSON notifications sent to an endpoint you add to a workspace when something happens in your LinkedIn outreach, such as a lead replying, a connection request being accepted or an account being logged out.
How Aimfox webhooks work
Webhooks replace polling the Aimfox API for updates. A workspace can have several endpoints, each subscribed to the event types it needs, and Aimfox marks the feature as beta.
Each delivery has an id, an event_type that names the event, a workspace object and an event object whose fields depend on the type. Aimfox's examples also carry a top-level timestamp. The webhook docs describe no payload versioning.
Key facts
Setting up Aimfox webhooks
- In **Workspace settings**, open the **Webhooks** tab and click **Add webhook**. Enter a name, your URL, a header name and value, then choose the events and save.
- Or use the API with a normal API key:
POST /api/v3/webhookscreates a webhook, andPATCH /api/v3/webhooks/:webhook_idtakes aheadersobject. - Aimfox documents no test delivery and no way to resend one. To reach your machine,
hookdeck listen 3000 aimfox --path /webhooks/aimfoxgives you a public URL, and adding a label to a lead sendslead_label_addedwithout any activity on LinkedIn. - To receive through Event Gateway, create a source with the Aimfox type, enter the header's name and exact value, and use the source URL as the webhook URL.
Delivery behaviour
not documented Aimfox retries network timeouts, but doesn't say how long it waits for a response Retries up to 6 1 minute after the failure, then 5 minutes, 30 minutes, 1 hour, 6 hours and 1 day after the previous retry After retries run out not documented the schedule ends about 32 hours after the failure, and no resend or delivery log is described Ordering not documented a retried event can arrive after newer ones, so compare timestamps before overwriting state Known failure modes
From Hookdeck's Aimfox guide →-
A long outage can lose events
Aimfox retries a failed call up to 6 times over about 32 hours and documents nothing after the last attempt. After a longer outage, reconcile from the Aimfox API.
Plan for the end of the schedule → -
One reply can fire several events
A lead's first reply to a campaign message matches
Choose a reply event →reply,campaign_replyandnew_reply, andinbox_eventcovers all inbox activity. Subscribe to the narrowest event you need so one message doesn't notify you several times. -
A slow handler can see the same event again
Aimfox retries calls that time out, even if your handler went on to finish the work. Respond quickly and deduplicate on
Deduplicate retries →id, the payload's identifier for the event. -
A webhook can have no authentication
The authentication header is optional and Aimfox doesn't sign requests, so a webhook saved without one sends events your endpoint can't check. Always set a long random value.
Treat the header as your only check →
Aimfox webhook best practices
- Set a header on every webhook. It's optional, and a webhook without one leaves your endpoint nothing to check. Use a long random value, over HTTPS only.
- Subscribe to the narrowest reply event.
campaign_replycovers every campaign reply andreplyonly the first, so subscribing to both reports a first reply twice. - Deduplicate on
id. A retry after a timeout can repeat work your handler already did. Storeidbefore processing and skip repeats. - Acknowledge fast and process asynchronously. Aimfox retries network timeouts and doesn't say how long it waits, so store the event, return a 2xx and update your CRM afterwards.
- Alert on
account_logged_out. It fires when a workspace account is logged out by hand or its session expires, so someone can log it back in. - Parse timestamps field by field.
Aimfox's examples mix ISO 8601, Unix seconds and milliseconds, and
event.timestampis a number onaccount_logged_out.
Common Aimfox webhook events
Replies
campaign_reply | Lead sends any reply to a campaign message |
reply | Lead first replies to a campaign message, once per lead |
new_reply | Reply arrives in any conversation on a workspace account |
Connections
accepted | Campaign's connection request is accepted |
new_connection | Workspace account gains a connection, through a campaign or not |
Accounts and campaigns
account_logged_out | LinkedIn account logs out, by hand or on session expiry |
campaign_ended | Campaign finishes and is marked ended |
Events by resource
| Resource | Events | Payloads |
|---|---|---|
replies | 5 | 5 |
campaigns | 3 | 3 |
connections | 3 | 3 |
outreach | 3 | 3 |
1 more resource, including Other Aimfox events. All 17 events →
In this hub
| Webhook events → | Every covered Aimfox event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to Aimfox events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill aimfox-webhooks |
Keep an outage from outlasting Aimfox's six retries.
Event Gateway checks your authentication header, accepts each event as it arrives and queues it, then retries to your service on your schedule.