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.
- Create or copy a Postly API key.
- Resolve the organization, workspace, and connected target accounts.
- Build the request using the pattern below and destination-specific values.
- 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.