Instagram Messaging API
Bring Instagram conversations into your SaaS product, customer inbox, support workflow, or automation through one API.
- List DM conversations with participants and last message
- Load full message history for any conversation
- Reply to DMs within Meta's 24-hour messaging window
- No Meta developer app 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
Explore Requests and Responses by Format
Use the same endpoint and change only the fields required for each publishing format.
curl "https://api.postpeer.dev/v1/messages?platform=instagram&accountId=acc_ig_biz_789&limit=20" \
-H "x-access-key: your-api-key"{
"success": true,
"selfId": "17841411111111",
"selfUsername": "yourbrand",
"conversations": [
{
"id": "aWdfZG1fdGhyZWFkXzE",
"participants": [
{
"id": "17841422222222",
"name": "Jane Doe",
"username": "jane_doe",
"profilePictureUrl": "https://scontent.cdninstagram.com/..."
},
{
"id": "17841411111111",
"name": "Your Brand",
"username": "yourbrand",
"profilePictureUrl": "https://scontent.cdninstagram.com/..."
}
],
"lastMessage": {
"id": "mid.aWdfbXNnXzk5OQ",
"text": "Do you ship internationally?",
"from": {
"id": "17841422222222",
"name": "Jane Doe"
},
"timestamp": "2026-08-05T16:40:00Z"
},
"updatedTime": "2026-08-05T16:40:00Z"
}
],
"nextCursor": "QVFIUl9..."
}GET https://api.postpeer.dev/v1/messages
Everything You Need for Instagram DMs
Read and reply to direct messages without managing Meta's Graph API. List conversations, load history, and send replies from one endpoint.
List Conversations
Fetch conversations for a connected account with each participant name, username, and profile picture, plus the most recent message and updated time.
Read Message History
Load the messages in a conversation, paginated, each with the sender and a timestamp. Rebuild a full thread on your side.
Send Replies
Reply to a recipient with one call. The response returns the sent message ID so you can track delivery.
24-Hour Window Handled
Meta only allows sends within 24 hours of the user's last message. That is a platform rule, not ours, and the API surfaces the failure clearly when the window has closed.
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 tools.
No Meta App Review
PostPeer is approved for instagram_business_manage_messages and handles OAuth end to end.
Need More Than Messaging?
Add publishing, scheduling, analytics, and comment management to the same connected Instagram workflow.
Instagram Posting
Publish feed posts, Reels, carousels, videos, and Stories through PostPeer.
Explore Instagram PostingInstagram Scheduling
Schedule supported Instagram content for future publishing.
Explore Instagram SchedulingInstagram Analytics
Retrieve supported Instagram account and content performance data through PostPeer.
Explore Instagram AnalyticsInstagram Comments
List comments and replies, respond to comments, and perform supported Instagram comment-management actions.
Explore Instagram CommentsShip Instagram Messaging in Any Stack
Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.
Dev Stack
Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.
- Node.js SDK
- Python SDK
- REST + cURL
- TypeScript-first types
AI Agents & MCP
Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.
Connect via MCPBeyond Instagram: Every Supported Platform
Start with Instagram, then reach every other network through the same API.
Instagram API
Handle Instagram conversations.
Facebook API
Handle Facebook conversations.
Twitter / X API
Handle Twitter / X conversations.
LinkedIn API
Handle LinkedIn conversations.
TikTok API
Handle TikTok conversations.
Add More Social Capabilities
Use the same connected accounts to schedule, analyze, manage comments, and handle conversations.
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.