Skip to main content
PUT
/
posts
/
{id}
/
status
Change post status
curl --request PUT \
  --url https://api.postiz.com/public/v1/posts/{id}/status \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "schedule"
}
'
{
  "id": "post-123",
  "state": "QUEUE"
}

Documentation Index

Fetch the complete documentation index at: https://docs.postiz.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Postiz API key

Path Parameters

id
string
required

Post ID

Body

application/json
status
enum<string>
required

New status for the post

Available options:
draft,
schedule

Response

Post status updated successfully

id
string
state
enum<string>
Available options:
DRAFT,
QUEUE