---
title: "Cancel a scheduled post before it publishes"
method: DELETE
path: "/social/posts/{id}"
tags: ["Social"]
---

# Cancel a scheduled post before it publishes

`DELETE /social/posts/{id}`

## Request

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

## Path parameters

- `id` string, required

## 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

- `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)
