Scheduled Posts

Managing Scheduled Posts

Scheduled posts are created via Publish Post using scheduledTime or useNextFreeSlot. These endpoints let you list, inspect, update, and delete scheduled posts before they publish.


List Scheduled Posts

Endpoint

Base URL: https://backend.blotato.com/v2

URL: /schedules

Method: GET

Description

Returns the current user's scheduled posts, ordered by scheduled time (ascending). Only returns posts scheduled in the future. Supports cursor-based pagination.

Query Parameters

Field
Type
Required
Description

limit

integer

No

Number of scheduled posts to return per page. Max 100. Defaults to 20.

cursor

string

No

Pagination cursor from a previous response.

Response

Status Code: 200 OK

Response Keys

Field
Type
Description

items

array

Array of scheduled post objects.

items[].id

string

Scheduled post ID. Use this for get, update, and delete operations.

items[].scheduledAt

string

Scheduled time in ISO 8601 UTC.

items[].draft

object

The post content. Same structure as the post object in Publish Post.

items[].account

object or null

The target account info. null if the account has been disconnected.

count

string

Total number of future scheduled posts.

cursor

string

Pagination cursor. Present when there are more results. Pass as cursor query parameter to get the next page.

Example


Get Scheduled Post

Endpoint

Base URL: https://backend.blotato.com/v2

URL: /schedules/:id

Method: GET

Description

Fetch a single scheduled post by its ID.

Path Parameters

Field
Type
Required
Description

id

string

Yes

The scheduled post ID from List Scheduled Posts.

Response

Status Code: 200 OK

Status Code: 404 Not Found

Example


Update Scheduled Post

Endpoint

Base URL: https://backend.blotato.com/v2

URL: /schedules/:id

Method: PATCH

Description

Update a scheduled post's content, scheduled time, or both. At least one field must be provided. The scheduled time must be in the future. When the scheduled time is changed, the post is re-queued for publishing at the new time.

Path Parameters

Field
Type
Required
Description

id

string

Yes

The scheduled post ID from List Scheduled Posts.

Request Body

Field
Type
Required
Description

patch

object

Yes

The fields to update.

patch.draft

object

No

Updated post content. Same structure as the post object in Publish Post.

patch.scheduledTime

string

No

New scheduled time in ISO 8601 format. Must be in the future.

Response

Status Code: 204 No Content

Status Code: 404 Not Found

Status Code: 422 Unprocessable Entity

Examples

Update Scheduled Time

Update Post Content

Update Both


Delete Scheduled Post

Endpoint

Base URL: https://backend.blotato.com/v2

URL: /schedules/:id

Method: DELETE

Description

Delete a scheduled post. The associated publishing job is also cancelled. This action cannot be undone.

Path Parameters

Field
Type
Required
Description

id

string

Yes

The scheduled post ID from List Scheduled Posts.

Response

Status Code: 204 No Content

Example

Last updated