EN
AI Agents

Multi-Channel Integration for AI Agent Developers

Connect your agents to LinkedIn, WhatsApp, email and calendars through one unified API, so they read the full context and act on behalf of each user.

7-day free trial, no credit card.
Your Agent
WhatsApp Gmail Google Calendar
4 accounts linked
MOMichel Opra
Michel Opra07:12 PMNew
Sounds promising. Could we talk on Thursday morning?
Sales agentActing for Sarah Brown
4 steps done
Read the conversation history
GET/v2/{account_id}/chats/{chat_id}/messages
Google Calendar
Found free slots on Thursday
09:0010:0011:30
Google Calendar
Booked a demo with Michel, Thursday 10:00
POST/v2/{account_id}/calendars/{calendar_id}/events
Replied on LinkedIn with the invite
POST/v2/{account_id}/chats/{chat_id}/messages/send
Thursday 10:00 works. I just sent you the invite. Sent from Sarah's LinkedIn account
Webhookmessage.new
Build your agents

Develop AI Agent with Unipile APIs

Build your own agents and connect them to LinkedIn, WhatsApp, Gmail, Outlook and more using Unipile's unified API. We handle the protocol complexity, you focus on the agent logic.

AliLeadGen agent Sales

Support lead generation and engagement

Sync prospect data into your tools Retrieve and analyze LinkedIn profiles Send personalized invitations and InMails
Last actionInvitation sent to Robert Fox
APIs usedGmailWhatsApp
TomTalentMatch agent HR

Streamline candidate sourcing and engagement

Send personalized messages to candidates Search LinkedIn for candidates matching job roles and skill sets Sync candidate profiles and communication history
Google Calendar Last actionInterview booked with Julia Chen
APIs usedGmailGoogle Calendar
OliSupportbot agent Support

Run multi-channel customer support

Reply with approved templates Centralize support tickets from WhatsApp, email and LinkedIn Escalate cases with the full history
WhatsApp Last actionTicket escalated for Anna Rossi
APIs usedGmailWhatsApp

Developers can build AI agents tailored to precise tasks across communication channels, from lead generation on LinkedIn to support tickets on WhatsApp or talent sourcing for HR. Unipile's multi-channel API is the foundation for specialized agents in Sales, HR, Support and customer engagement.

Our API is designed for messaging use cases. We ask our users to respect Meta's Terms of Service and to avoid any unauthorized automation.

Context for your agents

Build AI Agents That Truly Deliver Value

Unipile's API lets developers add multi-channel messaging, historical data sync and automated workflows to their agents. From follow-ups to engagement tracking, it adapts to your software's use cases.

Your App, Inbox
Agent on
MOMichel OpraMichel OpraCan you send over the details?Responsive
SRSofia RiveraWhatsAppSofia RiveraPerfect, see you on Thursday.Interested
DMDaniel MartinezGmailDaniel MartinezThanks for the proposal!Proposal
Sarah BrownToday, 17:09Based on our last call, I tailored a solution for your ops team. Interested in a quick overview?
MOMichel OpraMichel OpraToday, 19:12That sounds promising. Can you send over the details?
Agent draft: attach the NexaTech proposal and suggest a call on Thursday.
MOMichel Opra
Michel OpraAll channels, oldest first
Full history
2023
GmailMar 14Intro call recap and first pricing grid
2025
WhatsAppNov 02We are reviewing budgets in Q1, let's talk then.
2026
LinkedInTodayThat sounds promising. Can you send over the details?
GET/v2/{account_id}/chats/{chat_id}/messages
GET/v2/{account_id}/emails
MYMery Yard
Mery YardInstagramGmail
LinkedIn InstagramInstagram GmailGmail
MeMonday, 17:09Hi Mery, we loved your latest design project. Are you open to new opportunities?
MYMery YardMery YardMonday, 19:12Hi! Yes, I'm always curious. What kind of project are you recruiting for?
Context shared with the agent Role Product Designer Last email 3 days ago Instagram 2 messages

Unified Inbox for Seamless Multi-Channel AI Communication

Centralize every channel in one inbox. On LinkedIn, WhatsApp, Gmail and more, AI agents manage conversations, track statuses and engage across platforms, with real-time insights and personalized follow-ups for your users.

Full Access to Historical Data Across All Channels

Retrieve and centralize the full message history of every linked channel, LinkedIn, WhatsApp, Gmail or IMAP, without time limitations. Your agents get the complete context for smarter, personalized interactions and better decisions.

Benefits of Unified Contact Profiles for AI Agent Builders

By unifying every channel within a contact's profile, Unipile lets AI agents act smarter, work faster and deliver higher-quality outcomes: the foundation of efficient, context-aware systems.
Unipile MCP server

Build Your AI Agent Integration with Your Coding Agent

Unipile runs one hosted MCP server for its whole API. Add it to Codex, Cursor, Claude Code, Gemini CLI or Windsurf: your coding agent reads the real endpoints, writes the LinkedIn, WhatsApp, email and calendar integration into your agent's codebase, and tests it on a Development application.

~/.codex/config.toml
# Codex CLI and the Codex IDE extension share this file [mcp_servers.unipile] url = "https://developer.unipile.com/mcp?branch=v2.0" http_headers = { X-API-KEY = "your-scoped-api-key" } # Verify: codex mcp list
{ "mcpServers": { "unipile": { "url": "https://developer.unipile.com/mcp?branch=v2.0", "headers": { "X-API-KEY": "your-scoped-api-key" } } } }
# Register the hosted Unipile MCP server in Claude Code claude mcp add --transport http --scope user \ unipile "https://developer.unipile.com/mcp?branch=v2.0" \ --header "X-API-KEY: your-scoped-api-key" # Verify: claude mcp list, or /mcp inside a session
{ "mcpServers": { "unipile": { "httpUrl": "https://developer.unipile.com/mcp?branch=v2.0", "headers": { "X-API-KEY": "your-scoped-api-key" } } } }
{ "mcpServers": { "unipile": { "url": "https://developer.unipile.com/mcp?branch=v2.0", "headers": { "X-API-KEY": "your-scoped-api-key" } } } }
# Any MCP client over Streamable HTTP url https://developer.unipile.com/mcp?branch=v2.0 header X-API-KEY: your-scoped-api-key # Generic tools generated from the Unipile OpenAPI spec list-specs list-endpoints get-endpoint execute-request
One URL for every channel. Your coding agent reads the Unipile API and runs requests on your Development application.

A scoped key, never a global one. Create a Scope with your test accounts and a scoped Account API key for it. The MCP client then reaches only the accounts in that Scope, and you revoke the key from the dashboard at any time.

From One Prompt to Tested Code

The server exposes generic tools generated from the Unipile OpenAPI specification and updated with every API release. Your coding agent lists the endpoints, reads the exact schemas, then runs the requests.

coding agent · sales-agentUnipile MCP
Add a LinkedIn and email inbox to my sales agent, with Hosted Auth for my users and new-message webhooks that trigger the agent.
list-endpointschats, emails, auth, webhookspaths listed
get-endpointPOST /v2/auth/linkschema loaded
get-endpointPOST /v2/webhooks/endpoints/schema loaded
get-endpointGET /v2/{account_id}/chats/{chat_id}/messagesschema loaded
execute-requestPOST /v2/auth/link201 · Development
execute-requestPOST /v2/webhooks/endpoints/201 · Development
Added a Connect accounts route that creates the Hosted Auth link and stores each account_id, a webhook handler for message.new and email.new that queues a run of your agent, and two functions your agent can call: read a thread, send a reply. Tested on the Development app with a test account.
6 files changedReady for review
1
Describe the featureWrite the prompt in your agent's repository, in plain words, like you would for a teammate.
2
The agent reads the endpointslist-endpoints and get-endpoint return the real paths, parameters and body schemas of the Unipile API.
3
It writes the codeHosted Auth routes, the webhook handler and the functions your AI agent calls, in your stack.
4
It tests on Developmentexecute-request runs the calls on a Development application with test accounts. Move to Production once the flow passes.

MCP to Build, REST to Run

The MCP server stays in your coding agent, while you build. In production, your AI agent calls the Unipile REST API and wakes up on webhooks, on the accounts your users linked.

While you buildMCP server
Your coding agent reads the API contract instead of guessing routes and fields from old examples.
Requests run on a Development application, with test accounts and a scoped key.
New endpoints reach your coding agent the day they ship: the tools follow every API release.
Generic MCP tools
list-specslist-endpointsget-endpointexecute-request
In productionREST API and webhooks
Webhookmessage.newA contact replies to your user on LinkedIn or WhatsApp. Unipile pushes the event to your endpoint, no polling.
Your AI agent reads the thread and decides what to do, with your model and your own rules.
POST/v2/{account_id}/chats/{chat_id}/messages/sendThe reply goes out from the user's own linked account.

Any agent framework works: expose the REST routes your agent needs as tools through function calling.

Build with the Unipile MCP Read the MCP documentation
Linked accounts

Linked Accounts for Your Agent, with Hosted Auth

Your agent acts on behalf of each user, from the accounts they link themselves. Unipile hosts the connection flow, handles each provider's checkpoints and tells your backend when an account needs attention.

A Connection Page You Do Not Build

Your backend calls POST /v2/auth/link and the user signs in on a page Unipile hosts, on your own domain through a CNAME. You get back an account_id, with no provider login form to maintain.

Checkpoints Handled in the Flow

Two-factor codes, OTP, in-app validation and CAPTCHA challenges are handled on the hosted page, provider by provider, so your user finishes in one go.

Status Webhooks and Reconnection

When an account disconnects, an account.status.disconnected webhook tells your backend. A reconnect link from the same endpoint brings it back under the same account_id, and accounts linked with credentials can reconnect automatically with a stored TOTP secret.

Several Accounts per User

One user can link LinkedIn, WhatsApp, a mailbox and a calendar, each with its own account_id. A Scope keeps every API key limited to the accounts it should reach.

accounts.acme-agent.com Your domain
Link your accounts Acme Agent works from the accounts you link, on your behalf.
GmailGmailLinked
Google CalendarGoogle CalendarLinked
LinkedIn2FA code
Enter the code from your authenticator app.
Verify
WhatsAppWhatsAppScan QR code
Your backend, webhook eventsPOST /webhooks/unipile
Gmail
account.addacc_7Hq2Lm, Sarah Brown
Stored
account.status.disconnectedacc_2Gy8Zc, Tom Keller
Reconnect link sent
account.reconnectacc_2Gy8Zc, same account_id
Running
LinkedIn API

AI Agent Gateway: Automate LinkedIn Search and Data Sync

AI agents built for lead generation on LinkedIn now work smarter and faster. With Unipile's API, they search, analyze and sync data straight into your tools, on behalf of each authenticated user.

1Search
People searchAgent: Ava
KeywordsHead of Operations
Industry and locationSoftwareNorth America+ IT services
Relationship and size2nd degree51 to 200
Search
POST/v2/{account_id}/linkedin/search/people
2Select
Lead search87 results
5 of 87 shownCreate 87 records
MOMichel OpraMichel OpraNexaTech
RFRobert FoxRobert FoxOrbix
ARAnna RossiAnna RossiAcme
LMLucas MeyerLucas MeyerGalileo
JCJulia ChenJulia ChenSynthex
3Sync
Contact recordSynced
MOMichel OpraMichel OpraHead of Operations, NexaTech
LocationAustin, Texas InterestsTech, AI ExperienceNexaTech, since 2018 LanguagesEnglish, French SkillsERP systems EmailIf shared by the member
GET/v2/{account_id}/users/{user_id}

Effortless LinkedIn Search Automation

Let your AI agents run advanced LinkedIn searches for your target audience, with filters like job title, industry, location and company size. Agents retrieve detailed profile data, follow updates and gather insights for personalized engagement, without manual effort.

Enrich Leads Through Advanced Search

Enable your users to build enriched profiles straight from lead searches. With LinkedIn search data, they understand each prospect's role, interests and experience, and plan well-informed, targeted engagement.

Unipile is an independent technical intermediary, not affiliated with, endorsed by, or sponsored by LinkedIn. Searches run from the authenticated user's own account, and contact details appear only when the member shares them.

Calendar API

Integrated Calendar Sync to Empower Your AI Agents

Your AI agents talk to leads, candidates or users, and Unipile lets them act. With the Calendar API, agents propose time slots, check availability and create events from the user's context and intent. From a recruiter bot offering an interview slot to a sales assistant booking a demo, Unipile handles the sync with Google Calendar and Outlook Calendar.

MOMichel Opra
Michel OpraGmailGoogle CalendarWhatsApp
Sep 7 to Sep 11Monday to Friday
WeekDay
MonTueWedThuFri 09:00Team syncPipeline review 10:00InterviewJulia Chen10:30 DemoMichel Opra 11:00Client call 12:00
Meeting scheduledBy the agent
Friday, Sep 11 at 10:30 Video call, link added
SBSarah BrownSarah Brown, Sales Manager MOMichel OpraMichel Opra, NexaTech
POST/v2/{account_id}/calendars/{calendar_id}/events

Context-Aware Meeting Scheduling

Let your agent book meetings based on the conversation. Define logic such as "if the candidate accepts, schedule the interview" or "if the prospect replies positively, create the event".

Multi-Calendar Support for AI Personas

Connect several calendar sources to each agent persona (HR, Sales, Support). Your agent always knows when to suggest a slot, and when to avoid a conflict.

Event Management via API

Give your agent full control to create, update or delete events, with participants, video links and custom metadata for tracking.

Explore the Calendar API
Sequences

Build Customized Sequences for Your AI Agents

Build multi-step workflows tailored to your users' needs. With Unipile's API, your AI agents run personalized sequences across LinkedIn, WhatsApp, email and more, for timely, relevant engagement that improves results and user satisfaction.

Your App, Sequence
Run by your agent
Start new sequence
LinkedIn invitationRight away
LinkedIn messageAfter 1 day
Email follow-upAfter 3 days
WhatsApp reminderAfter 2 days
Stops when the contact replies
Add a new step
Send a message
Send an InMail
Send a voice note
React to a post
Comment on a post
WhatsAppSend a message
OutlookSend an email
GmailSend an email

Create Multi-Channel Engagement Flows

Combine LinkedIn invitations, follow-up messages, email reminders and WhatsApp nudges in one flow. AI agents handle multi-channel interactions, so each contact hears from your user at the right time, on the right platform.

Fully Customizable Sequences

Define every step of an engagement flow with precision: send voice notes, comment on LinkedIn posts or send InMails. Each sequence adapts to its audience and context, for more relevant conversations and better results for your users.

Every step is sent from the user's own account Replies detected in real time through webhooks
Analytics and limits

Optimize AI Agent Performance with Advanced Analytics and API Integration

Track, analyze and manage the performance of your AI agents with Unipile's APIs. Detailed insights and a single integration keep operations efficient across LinkedIn, WhatsApp, email and more.

Your App, Inboxes
Last 7 days
InboxesSequencesAnalytics
Sent589+16%
Responses45+11%
Deliverability100%Good
Inbox health88%Good
Linked accounts, 3 of 4 operational
Gmailsarah@acme.comOperational
WhatsAppSarah BrownOperational
Sarah BrownOperational
Outlooktom@acme.comDisconnectedReconnect

Advanced Analytics for Smarter Decision-Making

Get deep insights into your AI agents' performance with real-time analytics. Monitor key metrics such as sent messages, response rates and inbox health, then spot what to optimize so your agents run efficiently on every linked channel.

Account status reported for every linked account Reconnection flow when an account needs it
Your App, Limits
Today
InboxesSequencesLimits
Emails41 of 65 per day
Daily limit for emails sent
LinkedIn invitations26 of 30 per day
Daily limit for invitations
LinkedIn messages12 of 30 per day
Daily limit for private messages
Invitations close to today's limit: the agent pauses them until tomorrow.
InMail credits38 left
GET/v2/{account_id}/linkedin/inmail-credits

Limits Management for Safe and Scalable Operations

Manage and track daily limits for emails, LinkedIn activities and other channels to stay compliant and prevent account issues. Proactive alerts and real-time usage monitoring keep your AI agents running without disruptions.

The pace of messages and invitations remains the customer's responsibility, within the limits each platform sets.

Read the documentation
The problem

Challenges Faced by AI Agent Developers

Developers struggle with fragmented platforms, time-consuming integrations and compliance with evolving standards. These hurdles slow down innovation and make efficient AI agents harder to build.

01

Platform Fragmentation

Every platform, LinkedIn, WhatsApp, Gmail or other messaging tools, runs within its own ecosystem. Integrating each one is complex, time-intensive and error-prone.

One integration per platform
Own auth WhatsAppOwn auth GmailOwn auth OutlookOwn auth
02

Limited Time for Innovation

Developers often spend weeks building integrations instead of refining the core logic and features of their AI agents.

Where the sprint goes
IntegrationsMost of it
Agent logicWhat is left
03

Maintaining Up-to-Date Connections

Platform APIs change often, which calls for continuous maintenance to avoid service disruptions and to stay compliant with GDPR, SOC 2 and other standards.

Maintenance queue
OutlookToken refresh failedDown
WhatsAppSession to renewTo fix
With Unipile: a status webhook flags the account, a Hosted Auth reconnect link restores itSame ID
The solution

How Unipile Solves These Challenges

Unipile's unified API removes platform silos, streamlines integrations and keeps data in sync in real time, with robust security. Developers focus on building smarter AI agents instead of managing multiple APIs.

9 providers
Instagram WhatsApp Telegram Gmail Outlook IMAP Google Calendar Outlook Calendar
Unipile
One APIHosted authWebhooks
Your AI agent Sales, HR and Support agents acting for each linked user

Multi-Channel Gateway

Access LinkedIn, WhatsApp, email services and other major messaging platforms through a single API. No more separate APIs and processes for each channel.

Real-Time Synchronization

Messages and data sync in real time, and webhooks push each new message or email to your backend, so your agent reacts as soon as a reply lands.

Hosted Auth for Every User

Users link their own accounts on a page Unipile hosts, with 2FA and checkpoints handled. Status webhooks flag any account to reconnect.

Robust Security and Compliance

With built-in GDPR compliance and SOC 2 certification, Unipile keeps your integrations to the highest security standards.

Get started

Integrate Unipile and Start Building Better AI Agents Today

Developers integrate Unipile quickly, with an easy setup and clear documentation. Three steps take you from an API key to multi-channel agents running on your users' linked accounts.

1

Set Up Your Unipile API Dashboard

Create your app in the Unipile Dashboard, generate your API key and monitor API usage.

2

Implement the Unipile API in Your Software

Your users link Gmail, Outlook, LinkedIn, WhatsApp and more through a hosted login you open with POST /v2/auth/link, then webhooks push new messages to your agent.

3

Activate Multi-Channel Features

Build agent features on top: messaging, data sync and workflows across every linked channel. Accounts appear in your dashboard with their status as soon as they are linked.

Secure OAuth or credential-based login Supports multiple providers per user
Unipile/ Acme / AI Agent
Accounts Webhooks API keys Settings
AccountsLink account
4 operational1 to reconnect
AccountIDStatus
Sarah Brownacc_7Hq2LmOperational
WhatsAppSarah Brownacc_3Kd9WpOperational
GmailSarah Brownacc_9Tx4RbOperational
OutlookTom Kelleracc_5Nv1QeOperational
Google CalendarTom Kelleracc_2Gy8ZcReconnect

Optimize Your Integration with Experts Support

Whether you're starting from scratch or already have a system in place, our integration process is made to get you live fast.

Founders
Call with Founders
Secure a meeting with our founders to align on technical and product strategy.
Book a Call
Connect with Live Support
Get instant help from our team. We're here to answer all your questions.
Join 1000+ Developers in Our Slack Community Active
Ask questions, share feedback, or get unstuck, our Slack community (English & French) is the fastest way to get help from other devs and the Unipile team.
Join Now
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

AI Agent API FAQ

Answers for developers connecting their AI agents to messaging, email and calendars.

Unipile's API is a unified multi-channel integration layer that connects your software to LinkedIn, WhatsApp, Instagram, Telegram, Gmail, Outlook, IMAP, Google Calendar and Outlook Calendar. It simplifies AI agent development by bringing the messaging, email and calendar features your agents need into a single API.

Yes. Unipile's API lets you shape every agent feature, from multi-channel messaging and historical data sync to automated workflows and calendar scheduling. You tailor each agent's behavior to the specific needs of your users.

Yes. Unipile runs one hosted MCP server for its whole API, at https://developer.unipile.com/mcp?branch=v2.0. Add it to Codex, Cursor, Claude Code, Gemini CLI, Windsurf or any MCP client, with a scoped Account API key in the X-API-KEY header. Your coding agent reads the endpoints, writes the integration and tests it on a Development application. In production, your AI agent calls the REST API and receives webhooks. See the Unipile MCP server.

With Hosted Auth. Your backend creates a link with POST /v2/auth/link, the user signs in on a page Unipile hosts, on your own domain if you set up a CNAME, and you get back an account_id. Two-factor codes and other checkpoints are handled in the flow. If an account disconnects, a status webhook tells you and a reconnect link restores it under the same account_id. See how to implement Hosted Auth.

Yes. Create a webhook endpoint and subscribe to the events you handle, such as message.new, email.new or account.status.disconnected. Unipile pushes each event to your URL, so your agent runs when a reply arrives instead of polling every account. See how to wire webhooks.

Yes. Our API is designed in line with the Digital Markets Act (DMA). We only provide interoperability for messaging and do not store user profiles or build any independent database of them. 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: no spam, no mass messaging and no unauthorized automation or data collection. The API should only serve legitimate messaging scenarios such as customer support, team communication or user interactions, used responsibly and within Meta's rules.

Yes. Unipile is an independent technical intermediary, not affiliated with, endorsed by, or sponsored by LinkedIn. Every action your agent takes runs from the authenticated user's own account, once they have linked it. Unipile keeps no independent database of LinkedIn profiles, and the pace of messages and invitations remains the customer's responsibility, within the limits LinkedIn sets.

Integration is designed to be quick and straightforward. With our SDKs and detailed documentation, developers can implement Unipile's API in about two days. The 7-day free trial lets you test with real accounts, no credit card required.

Unipile includes built-in GDPR compliance and SOC 2 Type II certification, so your integrations meet high security and data privacy standards. Details are on our security and compliance page.

Yes. Unipile provides live support through chat and video calls to guide developers during integration. You can also book a meeting with our founders to align on technical and product strategy. Contact us.

Still have questions? Our team is here to help.

Talk to an expert