List posts

Posts of a workspace calendar, filtered by status, network, profile, queue or dates.

GET https://cotlet.dev/api/v1/sendible/workspaces/{workspace_id}/posts

read

Returns posts as the Sendible calendar shows them, soonest first, with status, publish time, profiles, creator and a short text preview. Pass next_cursor back as cursor until it is null. The calendar only holds the previous 12 months, so older posts are not returned. Use get_post for the full text.

Parameters

Parameters: list_posts
NameTypeDescription
workspace_id string required string Workspace from list_workspaces.
status enum enum draft, for_approval, queued, scheduled, sent or failed, the statuses of the Sendible calendar filter. Default: all.
network string string Only posts for this network, as in list_profiles.
profile_id string string Only posts for this profile.
queue_id string string Only posts from this queue.
from date date First day, YYYY-MM-DD, in the workspace time zone.
to date date Last day, YYYY-MM-DD.
cursor string string next_cursor of the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/sendible/workspaces/workspace_8c41d2/posts \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sendible", "list_posts", {"workspace_id":"workspace_8c41d2"})
Node.js
const result = await cotlet.call('sendible', 'list_posts', {"workspace_id":"workspace_8c41d2"});
CLI
cotlet call sendible list_posts --data '{"workspace_id":"workspace_8c41d2"}'

Example response

JSON

{
  "posts": [
    {
      "post_id": "post_77a1",
      "status": "for_approval",
      "send_at": "2026-10-23T09:00:00+01:00",
      "profiles": [
        "Harbor Dental (Facebook Page)",
        "Harbor Dental (Instagram)"
      ],
      "created_by": "Priya Nair",
      "preview": "Open this Saturday, 9 to 1. Book at harbordental.example/book"
    },
    {
      "post_id": "post_77b4",
      "status": "draft",
      "send_at": null,
      "profiles": [
        "Harbor Dental (LinkedIn Company Page)"
      ],
      "created_by": "Priya Nair",
      "preview": "Three signs it is time to book a check-up"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.