---
title: "Change post status"
method: PUT
path: "/posts/{id}/status"
tags: ["Posts"]
---

# Change post status

`PUT /posts/{id}/status`

Moves a post between `draft` and `schedule` state.

- `schedule` → sets the post state to `QUEUE` and (re)starts the publishing workflow so it will be published at its stored date.
- `draft` → sets the post state to `DRAFT` and terminates any currently running publishing workflow for the post, so it will not be published.

The post keeps its stored date; only the state (and the workflow) changes.

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'draft' | 'schedule', required — New status for the post

## Response `200`

Post status updated successfully

- object
  - `id` string
  - `state` 'DRAFT' | 'QUEUE'

## Other responses

- `400` — Invalid status or post not found

---

[API](https://skmtc.net/postiz/apis/postiz-public-api.md) · [All operations](https://skmtc.net/postiz/apis/postiz-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postiz/postiz-public-api/revisions/91e98b6af585/schema)
