Skip to main content
DocsPlatformsAPI ReferenceAI & Integrations
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"
  }'
import PostPeer from '@postpeer/node';

const client = new PostPeer();
const { data } = await client.posts.scheduled.reschedule({
	path: { postId: 'post_xyz789' },
	body: {
		scheduledFor: '2026-03-30T14:00:00',
		timezone: 'Asia/Jerusalem',
	},
});
from postpeer import PostPeer

with PostPeer() as client:
    post = client.posts.scheduled.reschedule(
        post_id="post_xyz789",
        scheduled_for="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