Skip to content

Content modeling and overrides

JSON Social Media Posting API Workflow

Store generated or approved social content in JSON and send reusable payloads to the Postly publishing API.

JSONReusable payloadsApprovals

How this API workflow works

This is useful for generated content, scheduled content, approvals, and review workflows.

  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

// content.json
{
  "text": "This is the post copy",
  "workspace": "WORKSPACE_ID",
  "target_platforms": [
    {
      "identifier": "linkedin",
      "id": "SOCIAL_ID"
    }
  ]
}

// Then send the parsed JSON body to the "Create a post" endpoint shown in docs.postly.ai

Build the complete workflow

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