curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scheduled_from": "2026-09-01T00:00:00Z",
"scheduled_until": "2026-10-01T00:00:00Z",
"post_ids": [
"6886b8d390dc7e2f4a2c91b3"
]
}
'import requests
url = "https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule"
payload = {
"scheduled_from": "2026-09-01T00:00:00Z",
"scheduled_until": "2026-10-01T00:00:00Z",
"post_ids": ["6886b8d390dc7e2f4a2c91b3"]
}
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({
scheduled_from: '2026-09-01T00:00:00Z',
scheduled_until: '2026-10-01T00:00:00Z',
post_ids: ['6886b8d390dc7e2f4a2c91b3']
})
};
fetch('https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule', 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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule",
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([
'scheduled_from' => '2026-09-01T00:00:00Z',
'scheduled_until' => '2026-10-01T00:00:00Z',
'post_ids' => [
'6886b8d390dc7e2f4a2c91b3'
]
]),
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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule"
payload := strings.NewReader("{\n \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule")
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 \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"job_id": "68a1c4f0d21b4e0a3c77e912",
"status": "pending"
}Start scheduling posts
Hands the app’s approved posts to the publisher, so each one goes out at its own scheduled time.
The work runs in the background. Poll Get scheduling job with the returned job_id to see how it went. Starting a second run for the same app while the first one is still starting is refused.
Calling it again for the same window normally returns the job already in flight instead of starting a second one, but treat that as best-effort rather than a guarantee. A retry sent in the moment before the job starts running can come back with a new job_id. Nothing is published twice when that happens, because both runs resolve the same automation for a given post.
It takes the posts whose scheduled_at falls in [scheduled_from, scheduled_until) and that aren’t handed over yet, which means the posts you approved plus the ones an earlier run couldn’t place. Base44 also hands over approved posts on its own within the hour, so this call only makes it happen now. A post still in proposal isn’t taken at all, so approve it first.
Send post_ids to take only those posts out of the range. Any other post in the range stays where it is.
Placing a post can fail for reasons this endpoint can’t check up front, and each one is counted in the job’s result rather than failing the request:
- The workspace’s plan doesn’t include publishing. Publishing scheduled posts needs the Builder plan or higher, and those posts are counted in
plan_limited. - The app has no connected account for the post’s platform with publishing permission, or it has more than one. Those posts move to
needs_reconnectand are counted there, and a later run picks them up once you fix the connection. - The post’s platform can’t be published to at all, or its scheduled time has already passed. Those posts move to
failed, which is final.
curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scheduled_from": "2026-09-01T00:00:00Z",
"scheduled_until": "2026-10-01T00:00:00Z",
"post_ids": [
"6886b8d390dc7e2f4a2c91b3"
]
}
'import requests
url = "https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule"
payload = {
"scheduled_from": "2026-09-01T00:00:00Z",
"scheduled_until": "2026-10-01T00:00:00Z",
"post_ids": ["6886b8d390dc7e2f4a2c91b3"]
}
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({
scheduled_from: '2026-09-01T00:00:00Z',
scheduled_until: '2026-10-01T00:00:00Z',
post_ids: ['6886b8d390dc7e2f4a2c91b3']
})
};
fetch('https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule', 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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule",
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([
'scheduled_from' => '2026-09-01T00:00:00Z',
'scheduled_until' => '2026-10-01T00:00:00Z',
'post_ids' => [
'6886b8d390dc7e2f4a2c91b3'
]
]),
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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule"
payload := strings.NewReader("{\n \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\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://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/social-calendar/posts/schedule")
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 \"scheduled_from\": \"2026-09-01T00:00:00Z\",\n \"scheduled_until\": \"2026-10-01T00:00:00Z\",\n \"post_ids\": [\n \"6886b8d390dc7e2f4a2c91b3\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"job_id": "68a1c4f0d21b4e0a3c77e912",
"status": "pending"
}Authorizations
Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.
Scopes
Headers
Body
Response
The scheduling job that is now running, or the one already in flight for this range.
ID of the scheduling job. Pass it as job_id to Get scheduling job.
"68a1c4f0d21b4e0a3c77e912"
State of the job. Either pending, running, completed, or failed. See Scheduling jobs for what each value means. A range holding nothing to schedule comes back completed straight away.
"pending"
Was this page helpful?