Skip to content

Schedule Blog Post

POST
/api/v1/posts/{id}/schedule

Authorizations

SessionAuth

Session ID for authenticated requests

Type
API Key (header: X-Session-ID)

Parameters

Path Parameters

id*
Type
string
Required

Request Body

application/json
JSON
{
  
"scheduled_at": "string"
}

Responses

Post scheduled

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Schedule a blog post for later publishing.

Auth: session + owner/admin.

Parameters

NameInTypeRequiredDescription
idpathstringYesPost id

Request Body

json
{
	"scheduled_at": "2026-04-05T10:00:00.000Z"
}

Response 200

json
{
	"data": { "id": "post_2", "status": "scheduled", "scheduled_at": "2026-04-05T10:00:00.000Z" },
	"user_context": { "authenticated": true },
	"meta": {}
}

Response Errors

  • 400 invalid schedule payload
  • 401 missing session
  • 403 not owner/admin
  • 404 post not found

Notes

  • Use this for timed editorial publishing.
  • The post remains hidden until the scheduled publish moment.