Social Media Messaging API
Send and manage Instagram DM replies programmatically with one API. Connect your users' accounts and respond to customer messages without building Meta's messaging integration yourself.
- List DM conversations with participants and last message
- Load full message history for any conversation
- Reply to messages from one unified endpoint
- No developer apps or App Review on your side
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"
David Flor, Founder at Darklight Interactive
"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."
Divanshu Khatter, Marketing Manager at Sembark
"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."
Het Tikawala, Founder at Kalizzle AI Studio
Add Social Media to Your Product in Three Steps
Connect once, then publish, schedule, and read data through the same API.
01
Get Your API Key
Sign up and get your API key instantly. No sales calls or complicated setup.
02
Integrate in Minutes
Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.
03
Support Every Major Platform
Give your users access to major social platforms without building and maintaining each integration yourself.
New to PostPeer? Read the getting started guide
One Request. Structured Response.
Clean, predictable JSON that's easy to parse and integrate.
curl -X POST "https://api.postpeer.dev/v1/messages/" \
-H "x-access-key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "instagram",
"accountId": "INTEGRATION_ID",
"recipientId": "RECIPIENT_ID",
"text": "Thanks for reaching out! How can we help?"
}'{
"success": true,
"messageId": "MESSAGE_ID"
}Why Choose PostPeer
Build the social experience your users need while PostPeer handles the platform-specific complexity behind it.
Unified Messages Endpoint
List conversations, read message history, and send replies through one `/v1/messages` endpoint. The same request shape works across every platform PostPeer supports, so you write one integration instead of one per network.
List Conversations
Fetch conversations for a connected account with each participant name, username, and profile picture, plus the most recent message and updated time. Paginate through the inbox with a cursor.
Read Message History
Load the messages in any conversation, paginated, each with the sender and a timestamp. Rebuild a full thread on your side and render it however your product needs.
Send Replies
Reply to a recipient with one call. The response returns the sent message ID so you can track delivery and reconcile it against your own inbox.
Build Your Own Inbox
Everything the PostPeer dashboard inbox uses is available through the API, so you can build a branded support inbox or wire DMs into your own CRM, help desk, or automation tools.
Platform Messaging Windows Handled
Several platforms only allow sends inside a limited window after the user's last message. Those are platform rules, not ours, and the API surfaces the failure clearly when a window has closed.
Manage Instagram Direct Messages via One API
Add messaging to your product without building and maintaining the underlying Meta messaging integration yourself.
Go Beyond Publishing. Build the Complete Workflow.
Give your users posting, scheduling, analytics, and comment management through one PostPeer integration.
Posting API
Publish content across supported social platforms through one unified API, with support for text, images, videos, carousels, and platform-specific publishing options.
Explore the Posting APIScheduling API
Schedule, reschedule, or cancel content across supported platforms with precise publishing controls.
Explore the Scheduling APIAnalytics API
Retrieve normalized performance metrics for dashboards, reports, and automated workflows.
Explore the Analytics APIComments API
Read, reply to, hide, or delete supported comments directly from your product.
Explore the Comments APIOne Integration. Every Way to Build.
Start with REST, use a typed SDK, connect an automation workflow, or hand the job to an agent. The same PostPeer API powers every path.
REST API
One predictable endpoint for every supported platform. Connect accounts once, then publish everywhere.
No-Code Automation
Build social publishing and scheduling workflows without creating a custom backend.
AI Agents & MCP
Give Claude, Cursor, Codex or your own agent access through hosted MCP, Agent Skills or REST tool calling.
const response = await fetch(
'https://api.postpeer.dev/v1/posts',
{
method: 'POST',
headers: {
'x-access-key': process.env.POSTPEER_API_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
content: 'Hello from PostPeer!',
platforms: [
{ platform: 'twitter', accountId: 'acc_twitter' },
{ platform: 'linkedin', accountId: 'acc_linkedin' },
],
publishNow: true,
}),
},
);
const post = await response.json();Frequently Asked Questions
Power Your Next Project With a Unified Social Media API
Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.
Start with 20 free credits. No credit card required.