---
title: "Compose and publish or schedule a social post"
method: POST
path: "/social/posts"
tags: ["Social"]
---

# Compose and publish or schedule a social post

`POST /social/posts`

## Request

- Base URL: `https://api.madethis.com/v1`
- URL: `https://api.madethis.com/v1/social/posts`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `platforms` string[], required
  - `title` string
  - `text` string
  - `link` string, uri
  - `mediaUrls` string[]
  - `platformOptions` object
  - `scheduledAt` integer
  - `idempotencyKey` string

## Response `200`

Success envelope.

- object
  - `data` object, required
    - `id` string, required
    - `state` 'awaiting_approval' | 'rejected' | 'draft' | 'scheduled' | 'processing' | 'review' | 'retrying' | 'published' | 'partially_published' | 'failed' | 'deleted', required
    - `platforms` string[], required
    - `scheduledAt` number, required
    - `content` object, required
      - `title` string, nullable, required
      - `text` string, nullable, required
      - `link` string, nullable, required
      - `mediaUrls` string[], required
    - `results` object[], required
      - `platform` string, required
      - `status` string, required
      - `permalink` string, nullable, required
      - `error` string, nullable, required
      - `retryable` boolean, nullable, required
    - `error` string, nullable, required
    - `canCancel` boolean, required
    - `canRetry` boolean, required
    - `terminalAt` number, nullable, required
    - `createdAt` number, required
    - `updatedAt` number, required
  - `hint` string: One-sentence orientation for agents.
  - `next_action` string: The literal next call an agent would chain.

## Other responses

- `201`: Success envelope.
- `202`: Parked by the business's spend policy (kind: social_publish). NOTHING has been spent, published or sent. Confirm with POST /v1/confirmations/{id}/confirm — or reject it — before the expiry; the original call is replayed exactly once.
- `default`: Error envelope — machine-readable `code` plus a docs link.

---

[API](https://skmtc.dev/madethis/apis/madethis-api.md) - [All operations](https://skmtc.dev/madethis/apis/madethis-api/llms.txt) - [OpenAPI document](https://skmtc.dev/madethis/apis/madethis-api/revisions/b0696ebcb55b?raw)
