How to Set Up LinkedIn Webhooks with Unified

Updated:


February 14, 2026

LinkedIn's Organization Social Action Notifications let you receive real-time updates when people interact with your company page: likes, comments, shares, and mentions. With Unified, you can subscribe to these events through the same webhook API you use for other integrations, so there's no need to learn LinkedIn's proprietary webhook protocol.

What You'll Need

Before starting, review the Getting Started with Unified article if you haven't already. You'll also need:

  • A LinkedIn developer app (see setup instructions below)
  • A LinkedIn connection created through Unified's embedded auth flow
  • A publicly accessible URL to receive webhook events

Setting Up Your LinkedIn Developer App

Before you can receive webhook events, you need a LinkedIn app configured with the right products and permissions.

Creating the App

  1. Go to linkedin.com/developers/apps and click Create App
  2. Fill in the required fields:
    • App name: Your application's name
    • LinkedIn Page: Select the LinkedIn company page you want to monitor (you must be an admin of the page)
    • App logo: Upload a logo for your app
  3. Accept the legal terms and click Create app

Requesting API Products

LinkedIn gates webhook access behind specific API products. From your app's settings page:

  1. Navigate to the Products tab
  2. Request access to Community Management API, which grants the r_organization_social scope needed for social action notifications
  3. If you also want to send messages, request LinkedIn Marketing API Partner Program for the w_messages scope

Product approvals can take a few business days. You can check the status on the Products tab.

Configuring OAuth Scopes

Once your products are approved:

  1. Go to the Auth tab in your app settings
  2. Under OAuth 2.0 scopes, verify that r_organization_social is listed
  3. Copy your Client ID and Client Secret; you'll need these when creating a connection in Unified
  4. Under Authorized redirect URLs, add your Unified OAuth callback URL

Verifying Your Company Page

LinkedIn requires that your developer app is associated with a verified company page:

  1. Go to the Settings tab in your app
  2. Under App Settings, confirm the correct LinkedIn Page is linked
  3. A page admin must verify the app. Click Generate URL next to the verification prompt and share it with a page admin if needed

Once the page is verified and the products are approved, your app is ready to receive social action notifications.

Creating a Webhook for LinkedIn Events

You can create a webhook subscription through the API or the Unified dashboard. The webhook will listen for messaging_event objects with the created event, which is how LinkedIn's social action notifications are surfaced.

Via the API

`import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({ security: { jwt: process.env.UNIFIED_API_KEY!, }, });

const webhook = await sdk.unified.createUnifiedWebhook({ webhook: { hookUrl: 'https://your-app.com/webhooks/linkedin', connectionId: process.env.LINKEDIN_CONNECTION_ID!, objectType: 'messaging_event', event: 'created', }, });

console.log('Webhook created:', webhook.webhook?.id);`

Via the Dashboard

  1. Open app.unified.to and navigate to your workspace
  2. Go to Webhooks and click Create Webhook
  3. Select your LinkedIn connection
  4. Set the object type to messaging_event and the event to created
  5. Enter your webhook URL and save

Once the webhook is active, Unified registers your endpoint with LinkedIn's event subscription API using the organization URN from your connection.

Receiving Events

When someone interacts with your LinkedIn company page, Unified converts the raw LinkedIn notification into a standard MessagingEvent object and POSTs it to your hook_url. Here's what that looks like:

`import express from 'express';

const app = express(); app.use(express.json());

app.post('/webhooks/linkedin', (req, res) => { const event = req.body;

switch (event.type) {
    case 'MESSAGE_RECEIVED':
        // Someone commented on a company post, shared it, or edited/deleted a comment
        console.log('Comment or share from:', event.user?.id);
        console.log('On organization:', event.channel?.id);
        break;

    case 'REACTION_ADDED':
        // Someone liked a company post
        console.log('Like from:', event.user?.id);
        break;

    case 'APP_MENTION':
        // Your company was mentioned in a share
        console.log('Mentioned by:', event.user?.id);
        break;
}

res.sendStatus(200);

});`

Event Type Mapping

LinkedIn's social action types are mapped to Unified's standard MessagingEvent types:

  • COMMENT and ADMIN_COMMENT become MESSAGE_RECEIVED: a new comment was posted on your organization's content
  • LIKE becomes REACTION_ADDED: someone liked your organization's post
  • SHARE becomes MESSAGE_RECEIVED: someone shared your organization's content
  • SHARE_MENTION becomes APP_MENTION: your organization was mentioned in a share
  • COMMENT_EDIT and COMMENT_DELETE become MESSAGE_RECEIVED: an existing comment was modified or removed

Each event includes the channel field set to your organization's ID, the user field with the actor's person ID, and a created_at timestamp. The original LinkedIn payload is always available in the raw field if you need additional detail.

Sending Messages Alongside Webhooks

While webhooks cover inbound events, you can also send outbound messages through LinkedIn's Messages API using the same connection. This is useful for responding to engagement by reaching out to the people interacting with your content.

const message = await sdk.messaging.createMessagingMessage({ messagingMessage: { message: 'Thanks for engaging with our content!', destinationMembers: [ { userId: 'urn:li:person:ABC123' }, ], }, connectionId: process.env.LINKEDIN_CONNECTION_ID!, });

Note that LinkedIn's Messages API requires partner-level access with the w_messages scope. Message creation supports new conversations (via destinationMembers) or replies to existing threads (via channelId).

Troubleshooting

Webhook not receiving events? LinkedIn requires the r_organization_social OAuth scope, which is granted through the Community Management API product. Verify your app has this product approved on the LinkedIn Developer Portal, and that your connection has the scope by checking the connection details in the Unified dashboard.

Events arriving for the wrong organization? The webhook subscription is tied to the organization_id stored in your connection metadata, which is set during the initial OAuth flow. If you manage multiple LinkedIn organizations, create separate connections for each one.

LinkedIn Page not verified? Your developer app must be associated with a verified company page. Go to your app's Settings tab on the LinkedIn Developer Portal and complete the page verification process. A page admin must approve the association.

With just a few lines of code, you're now receiving LinkedIn engagement events through the same webhook API you use for Slack, Discord, and other messaging integrations on Unified. No custom protocol handling required.

For creating the webhook in Unified, see How to create and configure webhooks.

→ Start your 30-day free trial

→ Book a demo

Share
All guidesWebhooksWebhook modelVirtual webhooksAccounting Account Type Hierarchy in UnifiedAdvertising Report Metrics by IntegrationAmazon S3: Required IAM PermissionsATS to Vector DB: How to Power Talent Intelligence with Real-Time DataBuilding AI applications with Unified and LangbaseConcur & Concur (Company) — Connection GuideConfigure Greenhouse Native Candidate WebhooksConfigure Salesforce Meetings and Notes for UnifiedConnect Amazon Seller Central to Unified.toConnecting BambooHR via OAuth 2Connecting Google Workspace Integrations with a Service AccountCorrect WelcomeKit Scopes for Jungle IntegrationCreating Ads using the Unified Ads APICreating Walmart Items via UnifiedEnd-Users, Integrations, and ConnectionsEnriching Unified Objects with Custom MetadataEnterprise-managed authorization (EMA) with a static keyEnterprise-managed authorization (EMA) with a workspace secretEnterprise-managed authorization (EMA) with Microsoft Entra IDExtended observability — pushing API logs to ClickHouseExtended observability — pushing API logs to Grafana / LokiExtended Observability - Pushing API Logs to your Datadog InstanceFacebook Messenger Webhook SetupFireflies Integration GuideGetting started with WorkableHandling Delegated vs. Application Scopes in Microsoft IntegrationsHiBob & Unified: connection and time off guideHow long are logs retainedHow to access employees and usersHow to add API support for the Create Activity in CrelateHow to Associate a Connection ID with Your End-UserHow to build a Candidate Assessment product withHow to build a candidate sourcing or job board app with Unified.toHow to build a Discord support bot with Unified.to and LangbaseHow to Build a Fintech Application with Unified's Payments APIHow to Build an E-Commerce Product Integration with UnifiedHow to build an invoicing system with Unified.toHow to build Enterprise Search using RAGHow to configure Bullhorn Redirect URI for creating a connectionHow to configure webhooks in HubSpotHow to configure webhooks in Thrive LearningHow to configure webhooks in Toast for UnifiedHow to Connect Anthropic to Real-Time SaaS Data with Unified.to MCP ServerHow to Connect Cohere to Real-Time SaaS Data with Unified.to MCP ServerHow to Connect Google Gemini to Real-Time SaaS Data with Unified.to MCP ServerHow to connect HiBob (Bob) to Unified with OAuth 2.0How to Connect LLMs to Real-Time SaaS Data with Unified.to MCP ServerHow to Connect OpenAI to Real-Time SaaS Data with Unified.to MCP ServerHow to Connect Zoom and Zoom PhoneHow to create a Connection In Microsoft TeamsHow to create a token-based connection in HighlevelHow to Create a Unified.to Connection to HighLevelHow to Create a Xero Connection in Unified.toHow to create and configure webhooksHow to create Connection with HubspotHow to customize portal URLs for Stripe and GoCardlessHow to filter webhook eventsHow-to Get a Private Support Channel for Your Unified IntegrationHow to get help fromHow to get your 8x8 Connect API Key, Account ID and SMS Subaccount ID (optional): Step-by-step guideHow to get your ADP Workforce Now Oauth2 client ID, Oauth2 client secret, Oauth2 PEM certificate and Oauth2 private key: Step-by-step guideHow to get your Amazon S3 AWS Region, AWS S3 Key, AWS S3 Secret and AWS S3 Bucket(s) (optional, comma-separated): Step-by-step guideHow to get your Ashby API Key: Step-by-step guideHow to get your Brex API token: Step-by-step guideHow to get your Bullhorn OAuth2 Client ID, OAuth2 Client Secret, API Username and API Password: Step-by-step guideHow to get your Ceridian Dayforce Username, Password and Client Namespace: Step-by-step guideHow to get your Crelate API key: Step-by-step guideHow to get your Dashlane API Key: Step-by-step guideHow to get your Deel Access Token: Step-by-step guideHow to get your Dialpad API Key: Step-by-step guideHow to get your Discord OAuth 2 credentials and bot tokenHow to get your ELMO client ID and client secret: Step-by-step guideHow to get your Gainsight Client ID, Client Secret and Gainsight API Domain: Step-by-step guideHow to get your Greenhouse API Key and Job board token: Step-by-step guideHow to get your Helpscout API Key: Step-by-step guideHow to get your HiBob Service User ID and Service User Token: Step-by-step guideHow to get your HighLevel API Key and Location ID: Step-by-step guideHow to get your HubSpot developer key and OAuth 2 credentials (Legacy Apps)How to get your Humaans API Key: Step-by-step guideHow to get your iCIMS API Username, API Password and Customer ID: Step-by-step guideHow to get your JobDiva Client ID, Username/email and Password: Step-by-step guideHow to get your Jobvite API Key, API Key Secret and Email: Step-by-step guideHow to get your Lever API Key: Step-by-step guideHow to get your Loxo Agency slug, API Key and Agency ID: Step-by-step guideHow to get your Microsoft Active Directory / Entra ID Client ID, Client Secret and Tenant ID: Step-by-step guideHow to get your Microsoft Azure AD OAuth 2 credentialsHow to get your OAuth 2 credentials for GmailHow to get your OAuth 2 credentials for Microsoft Dynamics 365How to get your OAuth 2 credentials in PipeDriveHow to get your OpenAI API Key: Step-by-step guideHow to get your Paycom SID/Username and Token/Password: Step-by-step guideHow to get your PCRecruiter Username, Password, Database ID, App Key and App ID: Step-by-step guideHow to get your SAP SuccessFactors (OpenID Connect) Username, Password, Client ID, Client Secret, Dependency Name, IAS Host and API URL: Step-by-step guideHow to get your SAP SuccessFactors Username, Company ID, Password and API URL: Step-by-step guideHow to get your Shopify Admin API access token and Store ID: Step-by-step guideHow to get your Wayfair Client ID, Client Secret and Vendor Encrypted Key: Step-by-step guideHow to get your Workable API Token and Subdomain: Step-by-step guideHow to get your yotpo APP Key / Store ID and Secret Key: Step-by-step guideHow to Handle Attachments in Invoice, Bill and Credit MemoHow to Manage Google Ad Manager Orders, Line Items and Creatives with theHow to migrate or import your integrations into Unified.toHow to obtain your GitHub OAuth2 credentialsHow to Power Claude with Live Customer Data Using Unified MCPHow to receive assessment orders from an ATS with Unified.toHow to register a Google developer app and get OAuth 2 credentialsHow to Register a HiBob Developer App and Get OAUTH2 CredentialsHow to register a Salesforce developer app and get OAuth 2 credentialsHow to register a Slack developer account and get OAuth 2 credentialsHow to Register a Workday Developer App and Get OAUTH2 CredentialsHow to Register a Workday Developer App and Get OAUTH2/ SOAP CredentialsHow to Register a ZendeskSell Developer App and Get OAUTH2 CredentialsHow to Register a Zoho Developer App and Get OAUTH2 CredentialsHow to Register an ADP Developer App and Get OAUTH2 CredentialsHow to Register an Atlassian Developer App and Get OAUTH2 CredentialsHow to Register your Facebook OAuth2 ApplicationHow to Register your Google Ads OAuth2 ApplicationHow to Register your MetaAds OAuth2 applicationHow To Request & Write Raw Integration DataHow to Retrieve Microsoft Dynamics 365 Business Central CredentialsHow to set up a custom API URL with a CNAMEHow to Set Up a Google Meet Meeting Bot with UnifiedHow to set up a HiBob marketplace installHow to Set Up a Microsoft Teams Bot with UnifiedHow to Set Up a Microsoft Teams Meeting Bot with UnifiedHow to Set Up a Webex Meeting Bot with UnifiedHow to Set Up a Zoom Meeting Bot with UnifiedHow to set up and configure NotionHow to set up Google Business Profile API access and get OAuth 2 credentialsHow to set up native webhooks for QuickBooks Online with UnifiedHow to set up Slack webhooks using event subscriptionsHow to set up Telegram (bot) with Unified.toHow to set up your scopes in HubSpotHow to setup a Freshbooks developer appHow to setup a TikTok Shop applicationHow to Setup AWS Assume Role for AWS Secret ManagerHow to setup Oracle JD EdwardsHow to Setup Quickbooks DesktopHow to setup Sage 100 with Unified.toHow to test webhooks in the Synthetic Data (Sandbox) environmentHow to troubleshoot unhealthy connectionsHow to troubleshoot unhealthy webhooksHow to Use Decision Models with the Unified GenAI APIHow to use SCIM with the Unified APIHow to use the Passthrough APIHow to Use Unified.to's Generative AI API with OpenAI and ClaudeHow to use User Provisioning and Verification with UnifiedHow virtual webhook retry and recovery worksIntegration set-up guide for LeverManaging custom validation rules in SalesforceNetSuite Authentication Setup for UnifiedNotice of Deprecation of Fields and Objects (Nov 2025)Oracle HCM / Taleo OAuth Credentials GuideRetrieval-Augmented Generation (RAG)SalesForce (External Client Apps) on Multiple OrganizationsSAML Single-Sign-OnScaling MCP Tools with Anthropic's (& OpenAI's) Defer LoadingScaling MCP Tools with Anthropic's Programmatic Tool CallingSet Environments for your Unified.to WorkspaceSetting up a Slack Bot Connection with Unified.toSetting up OAuth 2 Credentials for Greenhouse's APIsTrello Connection Guide in UnifiedUnderstanding OAuth2 Authorization flowsUnderstanding Response Time Headers in the Unified APIUnified Assessment API: Embed Assessments Inside ATS PlatformsUnified's MCP ServerUnified MCP Server with LangChain and LangGraphUnlock real-time data with virtual webhooksUse Unified to sign in your users into your applicationVincere OAuth Setup Guide for UnifiedWhy you can't use Unified's OAuth2 credentials to authorize your end users on ProductionWorkable: Creating candidates and attaching them to jobsWorkday vs Workday Legacy — Why Unified.to Supports BothWorking with hierarchical tree data in Storage, Messaging, and KMS APIs
Are we missing anything? Let us know
Was this page helpful?