List workspaces
List the Bluedot workspaces your account belongs to.
GET https://cotlet.dev/api/v1/bluedot/workspaces
read
Returns each workspace with its ID, name and your role (owner, admin or member). Every Bluedot user belongs to at least one workspace, and each workspace has its own billing and roles. Use the ID in the other tools when you work in more than one.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/bluedot/workspaces \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("bluedot", "list_workspaces") const result = await cotlet.call('bluedot', 'list_workspaces'); cotlet call bluedot list_workspaces Example response
{
"workspaces": [
{
"workspace_id": "w_90c1d7",
"name": "Northwind Sales",
"role": "admin"
},
{
"workspace_id": "w_3a4be2",
"name": "Personal",
"role": "owner"
}
]
}