Reschedule posts
curl --request POST \
--url https://api.postflow.app/v1/posts-bulk/reschedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"post_ids": [
"<string>"
]
}
'import requests
url = "https://api.postflow.app/v1/posts-bulk/reschedule"
payload = { "post_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({post_ids: ['<string>']})
};
fetch('https://api.postflow.app/v1/posts-bulk/reschedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.postflow.app/v1/posts-bulk/reschedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'post_ids' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.postflow.app/v1/posts-bulk/reschedule"
payload := strings.NewReader("{\n \"post_ids\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.postflow.app/v1/posts-bulk/reschedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"post_ids\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.postflow.app/v1/posts-bulk/reschedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"post_ids\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"posts": [
{
"id": "<string>",
"public_id": "<string>",
"organization_id": "<string>",
"user_id": "<string>",
"post_id": "<string>",
"cu_task_id": "<string>",
"name": "<string>",
"note": "<string>",
"visible_for_client": true,
"content": "<string>",
"content_weighted_length": 123,
"has_customized_content": true,
"locations": [
{
"id": "<string>",
"name": "<string>",
"location": [
"<string>"
],
"followers_count": 123,
"username": "<string>"
}
],
"image_tags": [
{
"id": "<string>",
"media_id": "<string>",
"x": 123,
"y": 123,
"mode": "user",
"username": "<string>",
"social_account_id": "<string>",
"product": [
"<string>"
]
}
],
"selected_media_ids": [
"<string>"
],
"first_comments": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>",
"customized": {
"linkedin": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"instagram": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"facebook": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"youtube": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"threads": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"bluesky": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"twitter": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
}
}
},
"publication_date": "2023-11-07T05:31:56Z",
"publication_timestamp": 123,
"customized_publication_date": [
"<string>"
],
"publication_delay_between": 123,
"fb_video_title": "<string>",
"ig_collaborators": [
"<string>"
],
"ig_share_to_feed": true,
"ig_allow_comments": true,
"ig_audio_name": "<string>",
"li_carousel_title": "<string>",
"li_poll": {
"question": "<string>",
"option_1": "<string>",
"option_2": "<string>",
"option_3": "<string>",
"option_4": "<string>"
},
"tt_carousel_title": "<string>",
"tt_disable_duet": true,
"tt_disable_stitch": true,
"tt_disable_comment": true,
"tt_brand_content": true,
"tt_brand_organic": true,
"tt_auto_music": true,
"tt_is_aigc": true,
"pi_pin_title": "<string>",
"pi_url_link": "<string>",
"pi_boards": [
"<string>"
],
"pi_sections": [
"<string>"
],
"pi_is_standard_pin": true,
"gb_event_title": "<string>",
"gb_start_date": "2023-11-07T05:31:56Z",
"gb_end_date": "2023-11-07T05:31:56Z",
"gb_use_time": true,
"gb_action_url": "<string>",
"gb_coupon_code": "<string>",
"gb_redeem_url": "<string>",
"gb_term_conditions": "<string>",
"yt_video_title": "<string>",
"yt_video_tags": [
"<string>"
],
"yt_categories": [
"<string>"
],
"yt_playlists": [
"<string>"
],
"yt_embeddable": true,
"yt_notify_subscribers": true,
"yt_made_for_kids": true,
"dr_title": "<string>",
"dr_tags": [
"<string>"
],
"tw_poll": [
"<string>"
],
"th_poll": [
"<string>"
],
"th_topic_tag": "<string>",
"customized": {
"twitter": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"linkedin": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"facebook": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"instagram": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"tiktok": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"bluesky": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"pinterest": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"google_business_profile": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"youtube": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"threads": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"snapchat": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"dribbble": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"tumblr": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
}
},
"is_publicly_shared": true,
"guest_approver_name": "<string>",
"everyone_must_approve": true,
"should_skip": true,
"approved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"inviter_id": "<string>",
"organization_id": "<string>",
"is_client": true,
"can_approve": true,
"can_connect_account": true,
"can_access_all_groups": true,
"self_approval": true,
"time_format_24": true,
"avatar": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"open_cu_links_in_app": false,
"groupIds": []
},
"socialAccounts": [],
"comments": [],
"tasks": [],
"details": [],
"media": [],
"labels": [],
"approvals": [],
"selectedAccountIds": [],
"assigneesIds": [],
"cu_creator_name": "<string>"
}
],
"skipped_published": [
"<string>"
]
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}Posts bulk
Reschedule posts
Reschedules multiple posts at once. Supports absolute date, time-only, date-only, and relative day offset modes.
delta_days or publication_date are required. Choose only one per request.
delta_days - shifts each post by N days relative to its current date
POST
/
posts-bulk
/
reschedule
Reschedule posts
curl --request POST \
--url https://api.postflow.app/v1/posts-bulk/reschedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"post_ids": [
"<string>"
]
}
'import requests
url = "https://api.postflow.app/v1/posts-bulk/reschedule"
payload = { "post_ids": ["<string>"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({post_ids: ['<string>']})
};
fetch('https://api.postflow.app/v1/posts-bulk/reschedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.postflow.app/v1/posts-bulk/reschedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'post_ids' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.postflow.app/v1/posts-bulk/reschedule"
payload := strings.NewReader("{\n \"post_ids\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.postflow.app/v1/posts-bulk/reschedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"post_ids\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.postflow.app/v1/posts-bulk/reschedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"post_ids\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"posts": [
{
"id": "<string>",
"public_id": "<string>",
"organization_id": "<string>",
"user_id": "<string>",
"post_id": "<string>",
"cu_task_id": "<string>",
"name": "<string>",
"note": "<string>",
"visible_for_client": true,
"content": "<string>",
"content_weighted_length": 123,
"has_customized_content": true,
"locations": [
{
"id": "<string>",
"name": "<string>",
"location": [
"<string>"
],
"followers_count": 123,
"username": "<string>"
}
],
"image_tags": [
{
"id": "<string>",
"media_id": "<string>",
"x": 123,
"y": 123,
"mode": "user",
"username": "<string>",
"social_account_id": "<string>",
"product": [
"<string>"
]
}
],
"selected_media_ids": [
"<string>"
],
"first_comments": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>",
"customized": {
"linkedin": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"instagram": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"facebook": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"youtube": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"threads": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"bluesky": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
},
"twitter": {
"enabled": true,
"socialAccountIds": [
"<string>"
],
"conditionValue": 123,
"content": "<string>"
}
}
},
"publication_date": "2023-11-07T05:31:56Z",
"publication_timestamp": 123,
"customized_publication_date": [
"<string>"
],
"publication_delay_between": 123,
"fb_video_title": "<string>",
"ig_collaborators": [
"<string>"
],
"ig_share_to_feed": true,
"ig_allow_comments": true,
"ig_audio_name": "<string>",
"li_carousel_title": "<string>",
"li_poll": {
"question": "<string>",
"option_1": "<string>",
"option_2": "<string>",
"option_3": "<string>",
"option_4": "<string>"
},
"tt_carousel_title": "<string>",
"tt_disable_duet": true,
"tt_disable_stitch": true,
"tt_disable_comment": true,
"tt_brand_content": true,
"tt_brand_organic": true,
"tt_auto_music": true,
"tt_is_aigc": true,
"pi_pin_title": "<string>",
"pi_url_link": "<string>",
"pi_boards": [
"<string>"
],
"pi_sections": [
"<string>"
],
"pi_is_standard_pin": true,
"gb_event_title": "<string>",
"gb_start_date": "2023-11-07T05:31:56Z",
"gb_end_date": "2023-11-07T05:31:56Z",
"gb_use_time": true,
"gb_action_url": "<string>",
"gb_coupon_code": "<string>",
"gb_redeem_url": "<string>",
"gb_term_conditions": "<string>",
"yt_video_title": "<string>",
"yt_video_tags": [
"<string>"
],
"yt_categories": [
"<string>"
],
"yt_playlists": [
"<string>"
],
"yt_embeddable": true,
"yt_notify_subscribers": true,
"yt_made_for_kids": true,
"dr_title": "<string>",
"dr_tags": [
"<string>"
],
"tw_poll": [
"<string>"
],
"th_poll": [
"<string>"
],
"th_topic_tag": "<string>",
"customized": {
"twitter": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"linkedin": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"facebook": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"instagram": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"tiktok": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"bluesky": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"pinterest": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"google_business_profile": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"youtube": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"threads": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"snapchat": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"dribbble": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
},
"tumblr": {
"content": "<string>",
"content_json": "<string>",
"media_ids": [
"<string>"
]
}
},
"is_publicly_shared": true,
"guest_approver_name": "<string>",
"everyone_must_approve": true,
"should_skip": true,
"approved_at": "2023-11-07T05:31:56Z",
"published_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"inviter_id": "<string>",
"organization_id": "<string>",
"is_client": true,
"can_approve": true,
"can_connect_account": true,
"can_access_all_groups": true,
"self_approval": true,
"time_format_24": true,
"avatar": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"open_cu_links_in_app": false,
"groupIds": []
},
"socialAccounts": [],
"comments": [],
"tasks": [],
"details": [],
"media": [],
"labels": [],
"approvals": [],
"selectedAccountIds": [],
"assigneesIds": [],
"cu_creator_name": "<string>"
}
],
"skipped_published": [
"<string>"
]
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required array length:
1 - 200 elementsOnly the time value from publication_date will be set for all selected posts, the date will remain unchanged.
Only the date value from publication_date will be set for all selected posts, the time will remain unchanged.
⌘I