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.

17 events covered

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

Signature header
None (unsigned)
How events are identified
event_type field in the body
Body format
JSON
Envelope
id, event_type, workspace, event, timestamp
Agent skill
npx skills add hookdeck/webhook-skills --skill aimfox-webhooks

Verify Aimfox webhooks →

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

  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 →
  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 →
  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 →
  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 →

Aimfox webhook best practices

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

new_reply · reply · inmail_reply · inbox_event +1

5 5
campaigns

campaign_ended · campaign_created · campaign_started

3 3
connections

new_connection · connect · accepted

3 3
outreach

view · inmail · message

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.

Not affiliated with Aimfox. Facts are compiled from public sources and linked inline.