Move a draft, scheduled or waiting post to another time

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-reschedule"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/2a02f2d4-6fcf-4df7-9c83-59fc3566c68b/social-card.svg?v=3e7ae33eec8b" alt="Move a draft, scheduled or waiting post to another time" width="600" height="315"></a>
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

id
string
path
required

Request body

application/json
scheduledAt
string
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
id
string
required
status
string
required
draft | scheduled | pending_approval
Updated