Scheduling
Reschedule Post
Change the scheduled time of an existing scheduled post.
PATCH https://api.postpeer.dev/v1/posts/scheduled/{postId}
| Parameter | Type | Description |
|---|
postId | string | The post ID to reschedule |
| Field | Type | Required | Description |
|---|
scheduledFor | string | Yes | New ISO 8601 datetime |
timezone | string | No | IANA timezone |
curl -X PATCH "https://api.postpeer.dev/v1/posts/scheduled/post_xyz789" \
-H "x-access-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scheduledFor": "2026-03-30T14:00:00",
"timezone": "Asia/Jerusalem"
}'
{
"success": true,
"message": "Post rescheduled.",
"scheduledFor": "2026-03-30T11:00:00.000Z"
}
| Code | Meaning |
|---|
200 | Successfully rescheduled |
404 | Post not found |
409 | Post already published or not in scheduled state |
503 | Scheduling unavailable |