curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/social-calendar/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_timezone": "Asia/Jerusalem",
"hook": "pain_point",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": [
"buildinpublic",
"crm"
],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light"
}
EOFimport requests
url = "https://app.base44.com/api/apps/{app_id}/social-calendar/posts"
payload = {
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_timezone": "Asia/Jerusalem",
"hook": "pain_point",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": ["buildinpublic", "crm"],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light"
}
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({
platform: 'linkedin',
title: 'Ship a CRM in an afternoon',
body: JSON.stringify('We replaced our lead spreadsheet with an app we built in an afternoon. Here\'s what changed.'),
scheduled_at: '2026-09-15T14:00:00Z',
scheduled_timezone: 'Asia/Jerusalem',
hook: 'pain_point',
best_time_reason: 'Weekday afternoons get the most engagement for this audience.',
hashtags: ['buildinpublic', 'crm'],
image_url: 'https://cdn.example.com/posts/crm-launch.png',
image_prompt: 'A freelancer closing a deal on a laptop, warm morning light'
})
};
fetch('https://app.base44.com/api/apps/{app_id}/social-calendar/posts', 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",
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([
'platform' => 'linkedin',
'title' => 'Ship a CRM in an afternoon',
'body' => 'We replaced our lead spreadsheet with an app we built in an afternoon. Here\'s what changed.',
'scheduled_at' => '2026-09-15T14:00:00Z',
'scheduled_timezone' => 'Asia/Jerusalem',
'hook' => 'pain_point',
'best_time_reason' => 'Weekday afternoons get the most engagement for this audience.',
'hashtags' => [
'buildinpublic',
'crm'
],
'image_url' => 'https://cdn.example.com/posts/crm-launch.png',
'image_prompt' => 'A freelancer closing a deal on a laptop, warm morning light'
]),
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"
payload := strings.NewReader("{\n \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/social-calendar/posts")
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 \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\n}"
response = http.request(request)
puts response.read_body{
"id": "6886b8d390dc7e2f4a2c91b3",
"app_id": "6820f3a4e7b91d003c45a1f2",
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"hook": "pain_point",
"cover_index": 0,
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_local_at": "2026-09-15T17:00:00+03:00",
"scheduled_timezone": "Asia/Jerusalem",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": [
"buildinpublic",
"crm"
],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light",
"status": "proposal",
"publish_dry_run": false,
"workflow_authored": false,
"image_pending": false
}Create scheduled post
Adds a post to the app’s social calendar, starting as a proposal. Approve it with Approve scheduled posts, then run Start scheduling posts to hand it to the publisher.
Base44 can publish to Instagram, LinkedIn, and Facebook, so those are the only platforms this endpoint accepts. The app needs a connected account for that platform with publishing permission by the time you schedule the post, not when you create it.
Set scheduled_at to when you want the post to publish.
The scheduled_timezone you send only decides the local time reported back in scheduled_local_at. It doesn’t affect when the post goes out.
curl --request POST \
--url https://app.base44.com/api/apps/{app_id}/social-calendar/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_timezone": "Asia/Jerusalem",
"hook": "pain_point",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": [
"buildinpublic",
"crm"
],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light"
}
EOFimport requests
url = "https://app.base44.com/api/apps/{app_id}/social-calendar/posts"
payload = {
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_timezone": "Asia/Jerusalem",
"hook": "pain_point",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": ["buildinpublic", "crm"],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light"
}
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({
platform: 'linkedin',
title: 'Ship a CRM in an afternoon',
body: JSON.stringify('We replaced our lead spreadsheet with an app we built in an afternoon. Here\'s what changed.'),
scheduled_at: '2026-09-15T14:00:00Z',
scheduled_timezone: 'Asia/Jerusalem',
hook: 'pain_point',
best_time_reason: 'Weekday afternoons get the most engagement for this audience.',
hashtags: ['buildinpublic', 'crm'],
image_url: 'https://cdn.example.com/posts/crm-launch.png',
image_prompt: 'A freelancer closing a deal on a laptop, warm morning light'
})
};
fetch('https://app.base44.com/api/apps/{app_id}/social-calendar/posts', 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",
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([
'platform' => 'linkedin',
'title' => 'Ship a CRM in an afternoon',
'body' => 'We replaced our lead spreadsheet with an app we built in an afternoon. Here\'s what changed.',
'scheduled_at' => '2026-09-15T14:00:00Z',
'scheduled_timezone' => 'Asia/Jerusalem',
'hook' => 'pain_point',
'best_time_reason' => 'Weekday afternoons get the most engagement for this audience.',
'hashtags' => [
'buildinpublic',
'crm'
],
'image_url' => 'https://cdn.example.com/posts/crm-launch.png',
'image_prompt' => 'A freelancer closing a deal on a laptop, warm morning light'
]),
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"
payload := strings.NewReader("{\n \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/social-calendar/posts")
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 \"platform\": \"linkedin\",\n \"title\": \"Ship a CRM in an afternoon\",\n \"body\": \"We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.\",\n \"scheduled_at\": \"2026-09-15T14:00:00Z\",\n \"scheduled_timezone\": \"Asia/Jerusalem\",\n \"hook\": \"pain_point\",\n \"best_time_reason\": \"Weekday afternoons get the most engagement for this audience.\",\n \"hashtags\": [\n \"buildinpublic\",\n \"crm\"\n ],\n \"image_url\": \"https://cdn.example.com/posts/crm-launch.png\",\n \"image_prompt\": \"A freelancer closing a deal on a laptop, warm morning light\"\n}"
response = http.request(request)
puts response.read_body{
"id": "6886b8d390dc7e2f4a2c91b3",
"app_id": "6820f3a4e7b91d003c45a1f2",
"platform": "linkedin",
"title": "Ship a CRM in an afternoon",
"body": "We replaced our lead spreadsheet with an app we built in an afternoon. Here's what changed.",
"hook": "pain_point",
"cover_index": 0,
"scheduled_at": "2026-09-15T14:00:00Z",
"scheduled_local_at": "2026-09-15T17:00:00+03:00",
"scheduled_timezone": "Asia/Jerusalem",
"best_time_reason": "Weekday afternoons get the most engagement for this audience.",
"hashtags": [
"buildinpublic",
"crm"
],
"image_url": "https://cdn.example.com/posts/crm-launch.png",
"image_prompt": "A freelancer closing a deal on a laptop, warm morning light",
"status": "proposal",
"publish_dry_run": false,
"workflow_authored": false,
"image_pending": false
}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
Content and schedule only. Ownership, lifecycle status, workflow binding, plan lineage and publish results are server-owned. Sending them is an error rather than a silently ignored field.
When the post should publish, as an ISO 8601 timestamp between the years 2000 and 2100. Send an offset, or a naive timestamp that Base44 reads as UTC. This endpoint doesn't check whether it's still in the future. Start scheduling posts does, and fails a post whose time has already passed by then, marking it failed for good.
"2026-09-15T14:00:00Z"
HTTPS URL of the image to publish with the post. Required for an Instagram post, which is rejected at publish time without one, and optional on LinkedIn and Facebook, which both publish text-only posts.
2000"https://cdn.example.com/posts/crm-launch.png"
Response
The created post.
ID of the content plan the post was generated from, or null for a post created through Create scheduled post.
"8c1f9a2e-3b7d-4c5e-9f01-2a3b4c5d6e7f"
Where the post is in its lifecycle. Either proposal, approved, scheduled, publishing, posted, failed, publish_outcome_unknown, needs_reconnect, or not_materialized_plan_limit. See Scheduled posts for what each one means.
"scheduled"
ID of the automation that publishes this post, set once Start scheduling posts hands it over, and null before that. Moving a post that has one replaces the automation, so the ID changes.
"68a1c4f0d21b4e0a3c77e912"
Whether the builder chat created this post for a workflow you wrote. That workflow's schedule decides when it publishes, so Update scheduled post refuses to change its scheduled_at.
false
Why the last publish attempt didn't go through, or null if none has failed. A short fixed message written by Base44, not the platform's own error text, so show it rather than parsing it. It stays set on a scheduled post whose attempt failed transiently and will be retried.
"Social platform returned status 422"
Why Start scheduling posts couldn't hand this post to an automation, or null if it never failed. Cleared once the post is handed over.
"Workspace could not be resolved"
Whether the post is waiting for its image, so Approve scheduled posts refuses it with image_not_ready for now. true while a generated post's image is still being made, and for an Instagram post with no image.
false
Was this page helpful?