Skip to content

Setup and targeting

Multi-Platform Social Media Posting API

Publish one campaign to multiple connected social networks through a single workspace-aware social media API.

WorkspaceMulti-channelCampaign publishing

How this API workflow works

Fetch the workspace, fetch socials, then add each social id as a separate object in target_platforms.

  1. Create or copy a Postly API key.
  2. Resolve the organization, workspace, and connected target accounts.
  3. Build the request using the pattern below and destination-specific values.
  4. Create the post, then inspect its scheduled or publishing status.

Example request

{
  "text": "Post to multiple channels",
  "workspace": "WORKSPACE_ID",
  "target_platforms": [
    {
      "identifier": "facebook",
      "id": "FACEBOOK_SOCIAL_ID"
    },
    {
      "identifier": "instagram",
      "id": "INSTAGRAM_SOCIAL_ID"
    },
    {
      "identifier": "linkedin",
      "id": "LINKEDIN_SOCIAL_ID"
    }
  ]
}

Build the complete workflow

Pair the REST API with Postly MCP agents, AI-assisted content creation, approvals, and the canonical social media scheduler.