List workspaces
List every workspace this connection's login can work in: its own account (role owner, with its clients) and each account it is a teammate on (role admin, member or viewer, scope whole account, one client or one conference). Read tools take an optional workspace argument set to a workspace_id from this list to read that account instead; omit it and nothing changes. On a whole-account ADMIN seat (writable_with_workspace_argument true) the campaign write tools (curating people, editing and rescoring drafts, rewriting named people, running an existing campaign) take it too and run as that account's owner; owner-only changes (ICP, pitch, clients, creating campaigns, approvals, decisions, keys, webhooks) stay refused, and sends never take a workspace. The list is computed on the server from team membership; naming an account that is not on it returns Not found. Owner addresses are masked.
Request
curl "https://sayintel.com/api/public/v1/workspaces" \ -H "Authorization: Bearer $SAYINTEL_TOKEN"
Try it out
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace | query | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
Response
{
"ok": true,
"tool": "list_workspaces",
"kind": "read",
"data": { ... },
"error": null
}Notes
- Scope required: read. How scopes work.
- Same capability over MCP as the tool list_workspaces. MCP setup.