Skip to main content
PUT
Set social calendar automation

Authorizations

Authorization
string
header
required

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

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

app_id
string
required

ID of the app whose social calendar you want.

Body

application/json
mode
enum<string>
required

Choose auto to approve and publish automatically, semi_auto to review before scheduling, or manual to publish yourself.

Available options:
auto,
semi_auto,
manual
Example:

"manual"

timezone_name
string
required

IANA time zone to use for future publishing schedules.

Maximum string length: 64
Example:

"America/New_York"

platforms
enum<string>[] | null

Channels to use. Defaults to the current plan's channels when omitted or null. Publishing modes accept instagram, linkedin and facebook. Manual mode also accepts x, tiktok and reddit.

Required array length: 1 - 6 elements
Available options:
x,
instagram,
tiktok,
linkedin,
reddit,
facebook
Example:

Response

The app's automation state.

Automation settings and the effects of changing them.

can_publish
boolean
required

Whether the workspace's plan lets Base44 publish posts. When false, choosing auto or semi_auto fails with social_calendar_plan_limited and scheduled posts stay not_materialized_plan_limit; manual stays available.

Example:

true

mode
enum<string> | null

Publishing mode. Either auto, semi_auto or manual, or null before a mode is chosen.

Available options:
auto,
semi_auto,
manual
Example:

"manual"

platforms
enum<string>[]

Configured channels. Values are instagram, linkedin, facebook, x, tiktok or reddit. Defaults to an empty list before configuration.

Available options:
x,
instagram,
tiktok,
linkedin,
reddit,
facebook
Example:
timezone_name
string | null

IANA time zone used for the publishing schedule, or null before configuration.

Example:

"America/New_York"

next_replenishment_at
string<date-time> | null

Next planned generation as a UTC timestamp in ISO 8601 format, or null in manual mode or before configuration.

Example:

"2026-10-01T08:00:00Z"

last_replenished_at
string<date-time> | null

Last completed generation as a UTC timestamp in ISO 8601 format, or null if no generation has completed.

Example:

"2026-09-30T08:00:00Z"

last_error
string | null

Most recent generation failure, or null when no failure is stored. The value insufficient_credits means the workspace needs more integration credits.

Example:

"insufficient_credits"

publish_dry_run
boolean
default:false

Whether automatically approved posts use simulated publishing in a test environment.

Example:

false

generating
boolean
default:false

Reports true while a generation run holds an active claim and false otherwise. Defaults to false before configuration.

Example:

true

auto_approved
integer
default:0

Number of proposals approved by this change. Defaults to zero when none were approved.

Example:

3

cancelled
integer
default:0

Number of pending posts cancelled by this change. Defaults to zero when none were cancelled.

Example:

2

materialization_job_id
string | null

Scheduling job identifier, or null when no scheduling job was started. Use it with Get scheduling job.

Example:

"6886b8d390dc7e2f4a2c91b3"