Social Media DM API
Zernio's direct messaging API lets you send and receive DMs across 7 platforms. Build customer support, chatbots, and notifications with a unified messaging API.
Inbox Add-On Required
DMs API requires the Inbox add-on. Starting at $10/month.
Key Features
Send Messages
Send text, images, and rich media across Instagram, Facebook, WhatsApp, Telegram, and more.
Receive Messages
Real-time webhooks for Meta and Telegram. Polling for Twitter, Bluesky, and Reddit.
Conversation Threads
Messages organized by conversation with participant metadata.
Rich Media Support
Send images, videos, audio, and documents on Meta, Telegram, and Twitter.
Interactive Messages
Quick replies, buttons, and templates on Meta, WhatsApp, and Telegram.
Real-Time Webhooks
Instant delivery of new messages via webhook events.
7 Platforms, One API
Normalized message format across Instagram, Facebook, WhatsApp, Telegram, Twitter, Bluesky, Reddit.
Chatbot Ready
Receive a message, process it, send a reply. Perfect for automated workflows.
How It Works
- 1.Enable Inbox Add-OnActivate from your billing settings.
- 2.Connect AccountsLink social accounts and grant messaging permissions.
- 3.Send & ReceiveUse the API to manage conversations or set up webhooks for real-time messages.
Why Use the DMs API
Customer Support at Scale
Build help desks that handle DMs from every platform.
Build Chatbots
Webhooks + API replies = fully automated conversational flows.
Send Notifications
Reach users on their preferred platform with transactional messages.
Unified Inbox
No more switching between 7 different messaging interfaces.
How Much Does a Social Media DM API Cost?
Building a unified messaging layer across 7 platforms means dealing with Meta's Graph API, Telegram's Bot API, X's DM endpoints, and more — each with different auth, formats, and rate limits. Here's how Zernio compares.
| Approach | Monthly cost | What you get |
|---|---|---|
| Build in-house (7 APIs) | $5,000–$15,000+ in eng time | Full control, full maintenance burden |
| Meta Graph API (DMs only) | Free (approval required) | Instagram + Facebook + WhatsApp only |
| Unipile (messaging API) | ~$55+/mo (10 accounts) | LinkedIn, WhatsApp, Instagram, Telegram |
| Zernio Inbox add-on (Build) | $10/mo | 7 platforms, includes comments + reviews |
| Zernio Inbox add-on (Accelerate) | $50/mo | 7 platforms, higher limits |
* Zernio's Inbox add-on bundles DMs, comments, and review management together.
Code Examples
const res = await fetch(
"https://zernio.com/api/v1/inbox/conversations?accountId=ACC_ID",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const { data, pagination } = await res.json();await fetch(
"https://zernio.com/api/v1/inbox/conversations/CONV_ID/messages",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
accountId: "ACC_ID",
message: "Hey! How can I help you today?"
})
}
);{
"event": "message.received",
"data": {
"messageId": "msg_abc123",
"conversationId": "conv_456",
"platform": "instagram",
"direction": "incoming",
"text": "Hi, I have a question",
"sender": { "id": "user_789", "name": "John" },
"timestamp": "2025-01-15T10:30:00Z"
}
}Supported Platforms
Send and receive direct messages across all major platforms.
See it in action

One endpoint to send and receive messages on 7 platforms.

Real-time webhooks for Instagram, Telegram, and WhatsApp.
Frequently Asked Questions
- What is a social media DMs API?
- └A social media DMs API is a programmatic interface for sending and receiving direct messages across social platforms. With Zernio, developers can build messaging features across 7 platforms with a single integration.
- Which platforms support DMs via Zernio?
- └Instagram, Facebook, WhatsApp, Telegram, X/Twitter, Bluesky, and Reddit. Real-time webhooks are available on Meta platforms (Instagram, Facebook, WhatsApp) and Telegram.
- Can I build a chatbot with Zernio's messaging API?
- └Yes. Receive messages via webhooks, process them in your app, and send replies via the API. Zernio also provides an official Vercel Chat SDK adapter for building multi-platform social bots with structured conversation flows.
- Does the DMs API support media messages?
- └Yes. Send images, videos, audio, and documents on Meta platforms (Instagram, Facebook, WhatsApp), Telegram, and X. Bluesky and Reddit currently support text-only DMs.
- What are interactive messages?
- └Quick replies, buttons, and templates for Meta, WhatsApp, and Telegram. Great for chatbot flows and surveys.
Related Features
Build with the DMs API
Send and receive messages across 7 platforms with one integration.

