Skip to main content
Scheduling

Reschedule Post

Change the scheduled time of an existing scheduled post.

Endpoint

PATCH https://api.postpeer.dev/v1/posts/scheduled/{postId}

Path Parameters

ParameterTypeDescription
postIdstringThe post ID to reschedule

Request Body

FieldTypeRequiredDescription
scheduledForstringYesNew ISO 8601 datetime
timezonestringNoIANA timezone

Example

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"
  }'

Response

{
  "success": true,
  "message": "Post rescheduled.",
  "scheduledFor": "2026-03-30T11:00:00.000Z"
}

Status Codes

CodeMeaning
200Successfully rescheduled
404Post not found
409Post already published or not in scheduled state
503Scheduling unavailable

On this page