Read the calendar
const url = 'https://postflow.biz.id/api/v1/calendar?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://postflow.biz.id/api/v1/calendar?from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z' \ --header 'Authorization: Bearer <token>'Every post scheduled in [from, to) (at most 92 days) and the queue slots still free in that range.
MCP tool: get_calendar.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”OK
object
object
Derived from the targets.
pending = waiting for the owner’s approval.
Send as expectedVersion when updating to avoid overwriting someone else’s change.
object
Use in mediaIds.
App path of the file. With the API, download it from /media/{id}/file.
One account a post goes to.
object
Target id, for retrying one account.
As sent in the request.
object
object
Hex color
Queue slots in the range with no post within 30 minutes.
object
The slot’s time.
E.g. “Tue 09:00” in the workspace time zone
Example
{ "posts": [ { "status": "draft", "review": "none", "media": [ { "kind": "image", "mime": "image/jpeg" } ], "targets": [ { "platform": "facebook", "contentType": "fb_post", "status": "draft", "firstCommentStatus": "pending" } ] } ]}Validation failed. details lists what to fix.
object
object
A sentence you can show to a person.
Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.
Example
{ "error": { "code": "UNAUTHENTICATED" }}Missing, invalid, expired or deleted key or token.
object
object
A sentence you can show to a person.
Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.
Example
{ "error": { "code": "UNAUTHENTICATED" }}More than 120 requests in a minute with this key.
object
object
A sentence you can show to a person.
Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.
Example
{ "error": { "code": "UNAUTHENTICATED" }}