EN

Unified Social Media API for Messaging and Engagement

Unipile's API helps you act across social media platforms. Respond to LinkedIn actions like job changes or new posts, and sync messaging on Instagram and Facebook, all from a single integration.

7-Day Free Trial

Your App
AllLinkedInInstagramFacebook
Unified activityWebhooks live
John RodriguezLinkedIn
John RodriguezInvitation accepted2m
John accepted your connection request.
Mery YardInstagram
Mery YardNew message12m
Loved your recent post, can we talk?
Lucas MartinFacebook
Lucas MartinPage comment25m
Do you ship to Canada?
Sarah MitchellLinkedIn
Sarah MitchellNew post1h
I'm happy to announce my new role!
Chloe BennettFacebook
Chloe BennettMessenger2h
Thanks for the quick reply!
3 accounts syncedLinkedInInstagramFacebook
Supported providers

Connect Any Social Platform

Integrate LinkedIn, Instagram and Facebook with dedicated APIs optimized for each platform.

LinkedInMessaging
Sarah Mitchell
Sarah MitchellThanks for connecting!
2m
John Rodriguez
John RodriguezInvitation accepted
1h
James Chen
James ChenHappy to chat next week.
3h

LinkedIn API

Connect LinkedIn, Sales Navigator and Recruiter accounts to send messages and invitations and retrieve profiles.

Messages and InMails
Invitations and profile data
Sales Navigator and Recruiter search
InstagramDirect
Mery Yard
Mery YardIs the collection still available?
5m
Alex Turner
Alex TurnerReplied to your story
1h
Mia Rodriguez
Mia RodriguezInstagram Direct
4h

Instagram API

Manage Instagram DMs, comments and posts from your app, with real-time webhooks.

DMs and media messages
Comments and replies
Profile and post data
FacebookNorthwind Studio
New collection is live
New collection is live24 comments
Lucas Martin
Lucas MartinDo you ship to Canada?
Reply
Chloe Bennett
Chloe BennettLove this!
Reply

Facebook API

Handle Messenger conversations, Page posts and comments for connected Facebook accounts.

Messenger conversations
Page posts and comments
Several Pages per account

Bring LinkedIn, Instagram and Facebook Actions into Your Software

Go beyond messaging. Retrieve and enrich profiles, manage connection requests and followers, and track posts, comments and reactions on LinkedIn, Instagram and Facebook, all from one unified API.

LinkedIn API: Profile Data, Invites, Enrichment

Advanced LinkedIn Search & Enrichment

Enable your users to search for people, companies, jobs, or posts from your software. Leverage LinkedIn and Sales Navigator search capabilities, handle pagination, and enrich contacts on their behalf.

People Search Company Data Job Listings Post Analytics Pagination Enrichment
LinkedIn, Recruiter, Sales Navigator
Top Filters
Keywords
Enter Keywords...
Location: Region
NORTH AMERICA × + UNITED STATES + CANADA + MEXICO
Industry / Location
Industry
HEALTHCARE × + FINANCIAL SERVICES + IT + RETAIL
Size 500+ EMPLOYEES ×

Instagram API: DMs, Profiles, Followers

Power Your App with Instagram Messaging

Send & receive Instagram DMs

Integrate Instagram messaging into your platform. Send text, images, or links and receive incoming messages via webhooks.

Retrieve Instagram profiles

Access profile data including bio, follower count, and profile picture on behalf of your connected users.

Sync followers & following lists

Access follower and following data for your connected users. Track updates and manage relationships.

Manage conversations at efficiently

List all conversations, mark as read, archive threads from a single API integration.

Your App
Instagram
Sarah Mitchell
Sarah Mitchell
@sarahmitchell
2.4K posts 48.2K followers 892 following
Messages synced
24 conversations
Emma Wilson
Emma Wilson
Loved your latest post, great tips!
2m 3
Alex Turner
Alex Turner
Thanks for the collaboration offer!
15m
Mia Rodriguez
Mia Rodriguez
Can we schedule a call next week?
1h 1
James Chen
James Chen
The product samples arrived today!
3h

Facebook API: Messenger, Pages, Posts

Power Your App with Facebook and Messenger

Send & receive Messenger messages

Integrate Messenger into your platform. Send text, images, or files and receive incoming messages via webhooks.

Connect accounts and Facebook Pages

Connect personal Facebook accounts and Facebook Pages, and handle several Pages from a single integration.

List, retrieve & create posts

Read the posts of a connected account or Page and publish new ones directly from your app. See the Facebook post API guide.

Comment & react on posts

Add comments and reactions to posts on behalf of your connected users. Background in our Facebook API guide.

Your App
Facebook
Northwind Studio
Northwind Studio
Facebook Page
1.2K posts 36.4K followers 35.1K likes
Messages synced
18 conversations
Lucas Martin
Lucas Martin
Hi! Is the workshop still open?
2m 3
Chloe Bennett
Chloe Bennett
Thanks for the quick reply!
15m
Daniel Brooks
Daniel Brooks
Do you ship to Canada?
1h 1
Sofia Rossi
Sofia Rossi
Great post, sharing it with my team
3h
Sequences

Build Smart Sequences on LinkedIn and Instagram

Let your users design multi-step engagement sequences on LinkedIn and turn Instagram comments into DM conversations, each step triggered through Unipile's API on behalf of the authenticated user. Facebook personal accounts follow the same model: friend requests, comments and Messenger follow-ups.

LinkedInLinkedIn

Start from a search

Target profiles with LinkedIn or Sales Navigator search filters, then add them to the sequence.

Invitation and message flows

Chain profile visits, invitations and personalized follow-up messages.

Detect acceptance and replies

Webhooks tell your app when to move to the next step.

LinkedIn API
Your App
Active
LinkedInNew connections sequence
  1. 2
    Visit profileDay 1
  2. 3
    Send invitation with a noteDay 1
  3. Wait for acceptanceUp to 7 days
  4. 4
    Send message1 day after acceptance
  5. 5
    Follow up if no reply3 days later
InstagramInstagram

Comment-to-DM

When someone comments a keyword on a post, a DM is sent automatically.

Reply in public, follow up in private

Answer the comment, then continue the conversation in DMs.

Real-time triggers

New comments and messages reach your app instantly via webhooks.

Instagram API
Your App
Active
InstagramComment "API" campaign
  1. New comment on your postKeyword "API"
  2. 1
    Reply to the comment"Check your DMs!"
  3. 2
    Send a DM with the linkInstantly
  4. Wait for a replyUp to 24 hours
  5. 3
    Follow-up DMIf no reply
Analytics

Analyze LinkedIn, Instagram and Facebook Messaging Activity with Our API

Measure LinkedIn invitations and messages, Instagram DMs and Facebook Messenger conversations in real time, ready to power your dashboards, outreach workflows and CRM.

Your App
Response ratesLast 7 days
LinkedInInvitations accepted
62%
+4.2%vs last week
InstagramDM response rate
59%
+3.1%vs last week
FacebookMessenger response rate
71%
+5.6%vs last week
Engagement
LinkedInInstagramFacebook
SunMonTueWedThuFriSat
Top engagement sources
LinkedIn
LinkedIn posts
38%
Facebook
Facebook Page comments
24%
Instagram
Instagram DMs
22%
LinkedIn
LinkedIn InMails
16%
AllLinkedInInstagramFacebook
Sarah MitchellLinkedIn
Sarah Mitchell2m
Thanks for connecting! Happy to chat next week.
Mery YardInstagram
Mery Yard14m
Is the spring collection still available?
Lucas MartinFacebook
Lucas Martin1h
Do you ship to Canada?
Chloe BennettFacebook
Chloe Bennett3h
Thanks for the quick reply!
John RodriguezLinkedIn
John Rodriguez1d
Sounds good, let's book a demo.
Alex TurnerInstagram
Alex Turner2d
Love the new feature, can I try it?
Sarah MitchellLinkedIn
Sarah Mitchell
LinkedInLinkedIn conversation
Synced in real time
Head of Sales at BrightlineConnectedSynced to CRM
Today
Hi Sarah, I saw your post about scaling a sales team.
Hi! Yes, we doubled the team this year.
We help sales teams sync every LinkedIn conversation into their CRM.
Would a quick call next week work?
Thanks for connecting! Happy to chat next week.
Reply on LinkedIn...
How it works

From Account Connection to Live Data in 3 Steps

No password to handle: your users connect their accounts, your app calls one API.

Connect accounts

Users link LinkedIn, Instagram or Facebook with Hosted Auth, or in one click with the UniLogin browser extension. Your app receives an account ID, never passwords or cookies.

LinkedInInstagramFacebook
Hosted AuthUniLogin extensionRevocable anytime

Call one unified API

The same endpoints for messages, profiles, posts and comments, whatever the platform.

GET /v2/acc_8f2c/chats
POST /v2/acc_8f2c/posts/{id}/comments

Receive webhooks

New messages, comments and accepted invitations are pushed to your app in real time.

{
  "event": "message_received",
  "provider": "INSTAGRAM"
}
Social Media API

Social Media API Features

Access every endpoint through a single, unified API. From messaging to profiles, invitations to posts, build any social integration your users need.

LinkedIn LinkedIn
Instagram Instagram
Facebook Facebook
Explore All Endpoints
Account connection
Messages
Users/Profiles
Posts/Comments
Specific
Webhooks
Inboxes

Account Connection

2 endpoints available

Hosted Auth: White label to connect your end users
Custom auth: connect user with credentials, cookies, your chrome extension

Messages

10 endpoints available

Send & Reply Messages
Send an InMail
List Messages, Chats & Attendees
Sync History
List Reactions
Read Receipts
Send Files attachments
Receive Files attachments
Send Voice Notes
Send Embed Video

Users/Profiles

11 endpoints available

Retrieve a Profile
Retrieve & Edit own profile
List all relations & Followers
Get own profile viewers
Follow a profile
Endorse skills
Send an Invitation
Cancel an Invitation
List all Invitations Sent & Received
Accept or decline incoming invitations
Detect accepted invitations

Posts/Comments

6 endpoints available

List posts of users and companies
Retrieve & Create a post
List all comments from a post
Comment a post
List all reactions from a post
Add a reaction to a post, comment

Specific

17 endpoints available

Search people, companies, posts and jobs
Retrieve a company profile
Retrieve Recruiter hiring projects
List all job postings
Create a job posting
List all applicants to a job posting
Retrieve applicants and their resumes
Retrieve InMail credits

Webhooks

3 events available

Account status
New Message
New Reaction / Read / Event

Inboxes

4 inboxes available

LinkedIn Classic Inbox
Sales Navigator Inbox
LinkedIn Recruiter Inbox
LinkedIn Company Page
Explore All Endpoints
Account connection
Messages
Users/Profiles
Posts/Comments
Specific
Webhooks

Account Connection

2 endpoints available

Hosted Auth: White label to connect your end users
Custom auth: connect user with credentials, cookies, your chrome extension

Messages

8 endpoints available

Send & Reply Messages
List Messages, Chats & Attendees
Sync History
Send Voice Notes
List Reactions
Read Receipts
Send Files attachments
Receive Files attachments

Users/Profiles

7 endpoints available

Retrieve a Profile
Retrieve own profile
List followers
List followed accounts
Follow an account
Send a follow request
Cancel a pending request

Posts/Comments

7 endpoints available

List posts of a user
Retrieve a post
Create a post
List all comments from a post
Comment a post
List all reactions from a post
Add a reaction to a post, comment

Specific

3 endpoints available

Search people (partial support)
Search posts (partial support)
Instagram inbox in real time

Webhooks

3 events available

Account status
New Message
New Reaction / Read / Event
Explore All Endpoints
Account Connection
Messages
Posts
Users
Webhooks

Account Connection

3 endpoints available

Hosted Auth: white label link to connect your end users
Custom Auth: connect with credentials or browser cookies
Two-factor checkpoints: SMS, authenticator app, WhatsApp, in-app validation or OTP

Messages

27 endpoints available

Send and Reply to Messages
List Chats, Page Inboxes and Messages
Start a Chat, from a Page Inbox too
Send and Download File Attachments
Edit, Delete and Forward Messages
Add and Remove Message Reactions
Read Status, Presence and Typing Indicator
Group Participants and Contacts

Posts

19 endpoints available

List and Retrieve Posts
Create, Update and Delete Posts
Post Reactions
Comments and Replies
Comment Reactions
User's Comments and Reactions

Users

14 endpoints available

Retrieve User Profiles and Pictures
User Presence
Update the Account Profile
Followers and Followings
Follow and Unfollow Users
Send, Accept or Cancel Friend Requests

Webhooks

9 events available

New Message
Message Edited or Deleted
Read and Delivery Receipts
New Reaction
Chat Updated or Deleted
Account Status
For Developers

Social Media API: Integrate LinkedIn,
Instagram and Facebook in Minutes

Access LinkedIn, Instagram and Facebook features through a single, unified API. Comprehensive documentation, clear references, and powerful SDKs to accelerate your development.

Simple Integration

Connect LinkedIn and Instagram with just a few lines of code. Our SDK handles authentication, rate limiting, and error handling.

social-sync.js
// Connect any social provider in seconds
import { UnipileClient } from 'unipile-node-sdk';

const client = new UnipileClient({
  dsn: 'https://api.unipile.com',
  token: process.env.UNIPILE_TOKEN
});

// Fetch LinkedIn profile data
const profile = await client.users.getProfile({
  account_id: 'account_123',
  provider_id: 'linkedin_user_id'
});

// Get Instagram DMs
const messages = await client.messaging.list({
  provider: 'instagram',
  limit: 50
});
→
One Unified API

Profile Enrichment

Retrieve structured profile data from LinkedIn and Instagram. Access bio, connections, posts, and engagement metrics.

SOC 2 Certified

Enterprise-grade security with full compliance. Your users' data stays protected.

Built-in Rate Limiting

Dynamic throttling per action (invites/day, messages/hour). Stay compliant without extra code.

Real-time Webhooks

Instant notifications for new messages, invitation accepted, and profile interactions. No polling required.

Sandbox Environment

Test your integration safely before going live. Full API access in development mode.

Unified Dashboard

One dashboard for all your integrations

Manage all your LinkedIn, WhatsApp, Gmail accounts and more from a single, intuitive interface.

/
Acme
/
Application
Documentation
API Reference
Changelog
Connect a new account
Select the type of account you
want to connect
LinkedIn
LinkedIn
WhatsApp
WhatsApp
Instagram
Instagram
Facebook
Facebook
Telegram
Telegram
Google
Google
IMAP
IMAP
Microsoft
Microsoft
Google Calendar
Google Calendar
Outlook Calendar
Outlook Calendar

Accounts

20 Operational
0 Authentication required
0 Service interruption
0 Paused
Name ID Status Linked
Operational Linked on
03/01/2025
Operational Linked on
02/15/2025
Operational Linked on
02/10/2025
Operational Linked on
03/01/2025
Operational Linked on
02/28/2025
Operational Linked on
02/20/2025
Operational Linked on
03/01/2025
Operational Linked on
02/25/2025
Operational Linked on
03/01/2025
Operational Linked on
02/22/2025
Operational Linked on
02/14/2025
Operational Linked on
02/12/2025
Operational Linked on
02/08/2025
Operational Linked on
02/05/2025
Operational Linked on
03/01/2025
Operational Linked on
02/15/2025
Operational Linked on
03/01/2025
Operational Linked on
02/22/2025
Try for free
Dashboard Demo
6000+ Companies Innovating with Unipile
Trusted by industry leaders
1 API
Streamline operations for all major communication channels
2 Days
Achieve live integration quickly with minimal setup
30%
Reduction in maintenance efforts and resources

Built-In Security and Compliance

Enterprise-grade protection for your data and workflows Learn more about our security
SOC 2 Type II
SOC 2 Type II
Certified
Independently audited security controls ensuring data protection and operational integrity.
GDPR
GDPR
Compliant
Full compliance with European data protection regulations for user privacy.
99.9%
Platform Uptime over the last 24 months
24/7
Global Support with high-performance API

Social Media API FAQ

Common questions about our Social Media API integration

Unipile's Social Media API covers LinkedIn, Instagram, WhatsApp, Facebook, and Telegram. Each platform offers specific actions like profile retrieval, post analysis, follower tracking, and invite management, all accessible from one unified API.
Yes. The API fully supports messaging features across all platforms. This page focuses specifically on non-messaging features (profiles, invites, reactions, etc.), but you can explore the Messaging API for full inbox integration.
Yes. Our API is designed in line with the Digital Markets Act (DMA). We provide interoperability for messaging and do not store or scrape user profiles. Please note that Unipile is not a Meta Partner, and our solution focuses exclusively on secure and compliant messaging use cases.
Yes. Clients must always respect Meta's Terms of Service. This means avoiding spam, mass messaging, or any form of data scraping. The API should only be used for legitimate messaging scenarios such as customer support, team communication, or user interactions, while acting responsibly and within Meta's rules.
Yes. You can track post reactions, comments, profile interactions, and follower changes in real time. Webhooks are also available for specific events like invite accepted or post interaction.
Social enrichment in a CRM or ATS, outreach sequencing, lead scoring based on interaction, job applicant retrieval, and audience intelligence for marketing tools.
No. This integration is not officially endorsed by LinkedIn or Instagram. That said, this approach is widely adopted across the ecosystem. Most established LinkedIn outreach, CRM, and ATS tools rely on similar techniques to provide messaging and inbox synchronization features that are otherwise impossible with official APIs. Unipile handles the complexity of platform-specific integrations, so you can focus on building features for your users.
We apply dynamic throttling and configurable safe limits per action (e.g. invites/day, reactions/hour). This ensures stability, platform compliance, and optimal user experience in production.

Still have questions? Our team is here to help.