Move a draft, scheduled or waiting post to another time
POST
http://localhost:4000/api/v1 /posts/{id}/reschedule Only the time changes. A scheduled post stays scheduled, also where posts need approval: the approval it has is kept. When the workspace asks to approve moved posts again, the answer's status is pending_approval and the post waits for its approvers. A post already waiting for approval goes on waiting and its approvers see the new time (where moved posts are approved again, approvals it already has are dropped). Moving a scheduled or waiting post needs the posts:publish scope.
Parameters
idstring
path
required
Request body
application/json
scheduledAtstring
required
{
"scheduledAt": "2024-01-01T00:00:00Z"
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/posts/{id}/reschedule" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"scheduledAt":"2024-01-01T00:00:00Z"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"id": "string",
"status": "draft"
}Schema
idstring
required
statusstring
required
Updated