Write Pro

Create Event Subscription

Routes an event type to a webhook endpoint, for example event='message.received' with a webhook_id UUID taken from list_webhooks. You can scope delivery with an optional filter like {campaign_id: 'abc123'}, where all values are compared as strings. Up to 50 subscriptions are allowed, and it returns an error if the webhook_id is not found or the event type is invalid.

create_subscriptionPOST/api/v1/subscriptions
crispy — bash

Example prompt: Subscribe my webhook to message.received events, but only for campaign abc123

{
  "id": "sub-7c1b-...",
  "event": "message.received",
  "webhook_id": "wh-1234-...",
  "filter": { "campaign_id": "abc123" }
}
Permission scope
pro
Access
Write
Category
Account

What you can build

Get notified in real time when a prospect replies or accepts an invite
Route only events for a specific campaign by passing a filter
Wire LinkedIn activity into your CRM or automation stack via webhooks
Trigger downstream workflows the moment a relevant event fires

Parameters

Inputs accepted by create_subscription.

NameTypeDescription
webhook_idstringWebhook endpoint UUID (from list_webhooks)
eventstringEvent type to subscribe to (e.g. 'message.received', 'invitation.accepted')
filterobjectOptional filter criteria as key-value pairs, e.g. {"campaign_id": "abc123"}. All values compared as strings.
descriptionstringOptional human-readable description

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.