Skip to content

Setup and targeting

Social Media Posting API for One Account

Publish to one connected social account with the Postly social media posting API using workspace-aware targeting.

WorkspaceSingle targetPublishing basics

How this API workflow works

Fetch the workspace, fetch socials, then use that social id 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 one channel",
  "workspace": "WORKSPACE_ID",
  "target_platforms": [
    {
      "identifier": "facebook",
      "id": "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.