Schedule or publish a post
postkey_schedule_postPostkey: Schedules or publishes an existing post (from postkey_create_post) to its social accounts. when "now" publishes right away, "at" at the time in at, "queue" at the next free slot of the profile's posting schedule. This PUBLISHES to real social accounts and cannot be undone once it is live. With publish_policy confirm_in_chat (the default) it goes out with no approval in Postkey: asking for this post at this time is the yes. With publish_policy held_in_postkey it is NOT sent: it goes to Posts > Approvals with the time you asked for, and the result has waiting_for_approval true, which is not an error: do not call it again or say it was sent. A full weekly post limit is refused plan_limit; a held post is checked again when approved. Call postkey_preview_action first. When the profile has more than one social account on a platform, ask the person which; never default to all. Each social account a post goes to counts once against posts_per_week.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"post_id": "<post_id>",
"when": "<when>"
},
"name": "postkey_schedule_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Required with when "at", refused otherwise: ISO 8601 with a UTC offset, for example 2026-11-02T09:00:00-05:00 (or Z for UTC). A time without an offset may be read in the wrong zone; the profile's own zone is account.time_zone in postkey_get_started, and for "today" or "tomorrow" use its account.today_local and account.tomorrow_local (the UTC date may already be the next day). The answer says the time back as understood_as. | |
| when | Yes | "now": publish right away. "at": at the time in at. "queue": the next free posting slot; refused queue_empty when the profile has no posting times (a person sets them). | |
| post_id | Yes | The post id (a UUID) from postkey_list_posts or postkey_create_post. | |
| preview_id | No | Optional: the preview_id postkey_preview_action gave for exactly these arguments today (UTC). Approvals then shows the person that you showed them the preview. A preview_id that does not match is ignored, never refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| status | No | The post's status. | |
| message | No | What happened. | |
| post_id | No | The post id. | |
| accounts | No | Each social account's result: platform, handle, ok, status, message. | |
| warnings | No | Notes from the posting service. | |
| published | No | true: it went out now. false: scheduled, or waiting for approval. | |
| scheduled | No | true: it is on the schedule. | |
| request_id | No | The held request: read it with postkey_get_approval or postkey_list_waiting_for_approval. A post held in Posts > Approvals has none. | |
| held_because | No | Why it waits on a direct connection. | |
| scheduled_for | No | When it goes out (UTC). | |
| understood_as | No | With when "at": the time read, as utc, local and time_zone. | |
| posts_left_this_week | No | On a plan with a weekly post limit: posts left this week. | |
| waiting_for_approval | No | true: NOT sent; waits for a person in Approvals. |