List workspaces

Workspaces of your Sendible account: one per client, brand or location.

GET https://cotlet.dev/api/v1/sendible/workspaces

read

Returns every workspace you can open, with its time zone, the number of profiles and whether publishing is paused. Sendible keeps one workspace per client, brand or location, and the other tools need a workspace_id from this list. A paused workspace shows its posts as sent although nothing was published.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "workspaces": [
    {
      "workspace_id": "ws_4821",
      "name": "Harbor Dental",
      "time_zone": "Europe/London",
      "profiles": 3,
      "publishing_paused": false
    },
    {
      "workspace_id": "ws_4822",
      "name": "Northside Bakery",
      "time_zone": "Europe/London",
      "profiles": 2,
      "publishing_paused": false
    }
  ]
}

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.