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 https://cotlet.dev/api/v1/sendible/workspaces \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("sendible", "list_workspaces") const result = await cotlet.call('sendible', 'list_workspaces'); cotlet call sendible list_workspaces Example response
{
"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
}
]
}