Posteady
Posteady Docs
User guideDeveloper guidesAPI referenceMCP
API referenceScheduling

Schedule several posts

Schedule up to 50 posts in one request, each with its own accounts, content, and time.

POST
/api/v1/scheduled-posts/batch
curl -X POST "https://example.com/api/v1/scheduled-posts/batch" \  -H "Content-Type: application/json" \  -d '{    "requestId": "77777777-7777-4777-8777-777777777777",    "items": [      {        "accountIds": [          "11111111-1111-4111-8111-111111111111"        ],        "posts": [          "Monday tip: plan the week\'s posts in one sitting."        ],        "scheduledAt": "2027-01-04T09:00:00+09:00"      },      {        "accountIds": [          "11111111-1111-4111-8111-111111111111"        ],        "posts": [          "Wednesday tip: reply to every comment in the first hour."        ],        "scheduledAt": "2027-01-06T09:00:00+09:00"      },      {        "accountIds": [          "11111111-1111-4111-8111-111111111111"        ],        "posts": [          "Friday tip: repost your best post of the week."        ],        "scheduledAt": "2027-01-08T09:00:00+09:00"      }    ]  }'

{  "requestId": "77777777-7777-4777-8777-777777777777",  "items": [    {      "index": 0,      "status": "scheduled",      "results": [        {          "accountId": "11111111-1111-4111-8111-111111111111",          "provider": "threads",          "username": "your_brand",          "success": true,          "scheduledPostIds": [            "55555555-5555-4555-8555-555555555555"          ],          "scheduledAt": "2027-01-04T00:00:00.000Z"        }      ],      "summary": {        "succeeded": 1,        "failed": 0      }    },    {      "index": 1,      "status": "scheduled",      "results": [        {          "accountId": "11111111-1111-4111-8111-111111111111",          "provider": "threads",          "username": "your_brand",          "success": true,          "scheduledPostIds": [            "99999999-9999-4999-8999-999999999999"          ],          "scheduledAt": "2027-01-06T00:00:00.000Z"        }      ],      "summary": {        "succeeded": 1,        "failed": 0      }    }  ],  "summary": {    "items": 2,    "scheduled": 2,    "partiallyScheduled": 0,    "failed": 0,    "unknown": 0  }}

Schedule up to 50 posts in one request, each at its own time, such as a week of posts or the rows of a spreadsheet. This does the same as bulk scheduling from a CSV or Excel file in Posteady. Each item is one POST /api/v1/scheduled-posts body with the same fields, rules, and limits, and all items must target accounts in the API key's workspace.

Before anything is scheduled, Posteady checks every item: its fields, its scheduledAt, that its accounts and account group are in the workspace, and the character limits, platform options, and mediaIds of its Threads, X, and LinkedIn posts (for an account group, the accounts that POST /api/v1/scheduled-posts would pick). It also checks the organization's credits for the X posts and its monthly API/MCP usage for one request per item. If any check fails, nothing is scheduled and the error message starts with the item, such as items[2]:.

The items are then scheduled in order, so items with scheduledAt next_free_slot get consecutive free slots of the account's posting schedule. Checks that need the file or the platform (the video, tiktokPhoto, instagram, youtube, and facebook objects, and LinkedIn documents, link previews, and first comment images) run as each item is scheduled, and so do the mediaIds checks of the remaining items when checking media files takes long. Such an item can fail on its own while the others are scheduled. The response is HTTP 200 and lists every item in order with its status: check each item's status, results, and error. An item with status unknown may be scheduled: look for it in GET /api/v1/scheduled-posts, and in GET /api/v1/posts if its time has passed (a published post leaves the scheduled list), before you send it again with a new requestId.

If the request times out or the response is lost, send the same request with the same requestId. Posteady returns the results of the first request instead of scheduling the posts again. While the first request is still scheduling, the same requestId returns SERVICE_UNAVAILABLE (HTTP 503): send it again a few seconds later. The same requestId with different items returns REQUEST_CONFLICT (HTTP 409).

Each item counts toward the organization's monthly API/MCP usage like one POST /api/v1/scheduled-posts request when Posteady starts to schedule it. If the limit is reached partway, the remaining items fail with QUOTA_EXCEEDED and are not counted. Sending the same requestId again counts as one request, and it returns the results even when the limit is reached. Scheduling to X uses the organization's credits as each item is scheduled, the same as POST /api/v1/scheduled-posts. When the workspace has approvals turned on, each scheduled post follows the same approval rules as a single schedule. Cancel a scheduled post with DELETE /api/v1/scheduled-posts/{id}.

AuthorizationBearer <token>

In: header

Request body

application/json

TypeScript definitions

Use the request body type in TypeScript.

Response body

application/json

application/json

application/json

application/json

application/json

application/json

application/json