# 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.

Agent skill: `npx skills add hookdeck/webhook-skills --skill aimfox-webhooks` ([details](https://hookdeck.com/webhooks/aimfox/skill))

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Aimfox's official docs](https://docs.aimfox.com/#/webhook-docs).

[Overview](https://hookdeck.com/webhooks/aimfox) · [Webhook events (17)](https://hookdeck.com/webhooks/aimfox/events) · [MCP events](https://hookdeck.com/webhooks/aimfox/mcp-events) · [Verify signatures](https://hookdeck.com/webhooks/aimfox/verify) · [Production guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts) · [Agent skill](https://hookdeck.com/webhooks/aimfox/skill)

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `None (unsigned)` | [Aimfox docs](https://docs.aimfox.com/#/webhook-docs) |
| How events are identified | `event_type field in the body` | [Aimfox docs](https://docs.aimfox.com/#/webhook-docs) |
| Body format | `JSON` | [Aimfox docs](https://docs.aimfox.com/#/webhook-docs) |
| Envelope | `id, event_type, workspace, event, timestamp` | [Aimfox docs](https://docs.aimfox.com/#/webhook-docs) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill aimfox-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/aimfox/skill) |

[Verify Aimfox webhooks](https://hookdeck.com/webhooks/aimfox/verify)

## 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.

## 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/webhooks` creates a webhook, and `PATCH /api/v3/webhooks/:webhook_id` takes a `headers` object.
- Aimfox documents no test delivery and no way to resend one. To reach your machine, `hookdeck listen 3000 aimfox --path /webhooks/aimfox` gives you a public URL, and adding a label to a lead sends `lead_label_added` without 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

- **Timeout:** not documented. Aimfox retries network timeouts, but doesn't say how long it waits for a response. [Guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#timeouts)
- **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. [Guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#retries)
- **After retries run out:** not documented. the schedule ends about 32 hours after the failure, and no resend or delivery log is described. [Guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#retries)
- **Ordering:** not documented. a retried event can arrive after newer ones, so compare timestamps before overwriting state. [Guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#ordering)

## Known failure modes

1. **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](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#retries)
2. **One reply can fire several events.** A lead's first reply to a campaign message matches `reply`, `campaign_reply` and `new_reply`, and `inbox_event` covers all inbox activity. Subscribe to the narrowest event you need so one message doesn't notify you several times. [Choose a reply event](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#choosing-events)
3. **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 `id`, the payload's identifier for the event. [Deduplicate retries](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#duplicates)
4. **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](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#other-limits)

From [Hookdeck's Aimfox guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts).

## Aimfox webhook best practices

- **[Set a header on every webhook](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#other-limits).** 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](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#choosing-events).** `campaign_reply` covers every campaign reply and `reply` only the first, so subscribing to both reports a first reply twice.
- **[Deduplicate on `id`](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#duplicates).** A retry after a timeout can repeat work your handler already did. Store `id` before processing and skip repeats.
- **[Acknowledge fast and process asynchronously](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#timeouts).** 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`](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#choosing-events).** 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](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts#other-limits).** Aimfox's examples mix ISO 8601, Unix seconds and milliseconds, and `event.timestamp` is a number on `account_logged_out`.

## Common Aimfox webhook events

### Replies

- [campaign_reply](https://hookdeck.com/webhooks/aimfox/events#campaign_reply): Lead sends any reply to a campaign message
- [reply](https://hookdeck.com/webhooks/aimfox/events#reply): Lead first replies to a campaign message, once per lead
- [new_reply](https://hookdeck.com/webhooks/aimfox/events#new_reply): Reply arrives in any conversation on a workspace account

### Connections

- [accepted](https://hookdeck.com/webhooks/aimfox/events#accepted): Campaign's connection request is accepted
- [new_connection](https://hookdeck.com/webhooks/aimfox/events#new_connection): Workspace account gains a connection, through a campaign or not

### Accounts and campaigns

- [account_logged_out](https://hookdeck.com/webhooks/aimfox/events#account_logged_out): LinkedIn account logs out, by hand or on session expiry
- [campaign_ended](https://hookdeck.com/webhooks/aimfox/events#campaign_ended): Campaign finishes and is marked ended

## Events by resource

| Resource | Events | Payloads |
|---|---|---|
| [replies](https://hookdeck.com/webhooks/aimfox/events#resource-replies) | 5 | 5 |
| [campaigns](https://hookdeck.com/webhooks/aimfox/events#resource-campaigns) | 3 | 3 |
| [connections](https://hookdeck.com/webhooks/aimfox/events#resource-connections) | 3 | 3 |
| [outreach](https://hookdeck.com/webhooks/aimfox/events#resource-outreach) | 3 | 3 |

1 more resource. [All 17 events](https://hookdeck.com/webhooks/aimfox/events)

## In this hub

- [Webhook events](https://hookdeck.com/webhooks/aimfox/events): Every covered Aimfox event, with payloads where the registry has them.
- [MCP events](https://hookdeck.com/webhooks/aimfox/mcp-events): How an agent subscribes to Aimfox events as MCP events.
- [Verify signatures](https://hookdeck.com/webhooks/aimfox/verify): Signature facts, verification code and common failures.
- [Production guide](https://hookdeck.com/webhooks/aimfox/guide-duplicates-ordering-retries-timeouts): Production problems, such as timeouts and retries, and how to handle them.
- [Agent skill](https://hookdeck.com/webhooks/aimfox/skill): Install the webhook skill in your coding agent. `npx skills add hookdeck/webhook-skills --skill aimfox-webhooks`
---

Not affiliated with Aimfox. Facts are compiled from public sources and linked inline. [View as JSON](https://hookdeck.com/webhooks/aimfox.json) · [Report a correction](https://hookdeck.com/contact)
