Skip to main content
Social Media API

Social Media Messaging API

One REST API to read and reply to direct messages across social platforms. List conversations, load message history, and send replies from a single endpoint, without wiring up a separate messaging integration for every network.

  • 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
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
2 platforms
TwitterLinkedIn
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XLIFBTT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl "https://api.postpeer.dev/v1/messages?platform=instagram&accountId=acc_ig_biz_789&limit=20" \
  -H "x-access-key: your-api-key"

Response

JSON
{
  "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..."
}

Manage Direct Messages With One API

Stop maintaining a separate messaging integration for each network. PostPeer normalizes the differences so you list conversations, read history, and reply from one endpoint.

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.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
2 platforms
TwitterLinkedIn
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XLIFBTT
One API, every platform