Social Media DM API
Zernio's direct messaging API lets you send and receive DMs across 10 platforms. Build customer support, chatbots, and notifications with a unified messaging API.
DMs
DMs API is bundled with every connected account. No add-on needed.
Key Features
Send Messages
Send text, images, and rich media across Instagram, Facebook, WhatsApp, Telegram, TikTok, and more.
Receive Messages
Real-time webhooks for Meta, Telegram, Slack, and TikTok. 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, Twitter, and TikTok.
Interactive Messages
Quick replies, buttons, and templates on Meta, WhatsApp, and Telegram.
Real-Time Webhooks
Instant delivery of new messages via webhook events.
10 Platforms, One API
Normalized message format across Instagram, Facebook, WhatsApp, Telegram, Twitter, TikTok, Bluesky, Reddit, Slack, SMS.
Chatbot Ready
Receive a message, process it, send a reply. Perfect for automated workflows.
How It Works
- 1.Connect an AccountConnect any social account on the usage-based plan. DMs are bundled in, no add-on needed.
- 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 10 different messaging interfaces.
How Much Does a Social Media DM API Cost?
Building a unified messaging layer across 10 platforms means dealing with Meta's Graph API, Telegram's Bot API, X's DM endpoints, TikTok's Business Messaging API, Slack's Events API, and more, each with different auth, formats, and rate limits. Here's how Zernio compares.
| Approach | Monthly cost | What you get |
|---|---|---|
| Build in-house (10 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 | Free up to 2 / usage-based | 10 platforms, DMs + comments + reviews bundled in. 10,000 messages a month included, then $1 per 10,000. |
* Zernio bundles DMs, comments, and review management with every connected account. Comments and reviews are unmetered; sending DMs is free to 10,000 a month, then $1 per 10,000.
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 10 platforms.

Real-time webhooks for Instagram, Telegram, WhatsApp, TikTok, and Slack.
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 10 platforms with a single integration.
- Which platforms support DMs via Zernio?
- └Instagram, Facebook, WhatsApp, Telegram, X/Twitter, TikTok, Bluesky, Reddit, Slack, and SMS. Real-time webhooks are available on Meta platforms (Instagram, Facebook, WhatsApp), Telegram, Slack, and TikTok. TikTok DMs require a TikTok Business account.
- 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, X, and Slack. TikTok supports images and video. 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 10 platforms with one integration.

