Workspace
Get the current workspace
GET
/api/workspaces/currentReturn the workspace this key or connection acts in: its id, name and whether it is your personal one, your userId and role there, access (the scopes and platform sets this call may use, already narrowed to your role) and its members with their user id, name, email and role.
- Every post, account and platform set you reach belongs to this workspace; a key or connection works in one workspace only, so to act in another, use a key made there.
- A post's
createdByis one of the members'userId: use this to say who created a post. - Any valid key may call it.
- Key scope
- none (any key)
- MCP tool
- workspace_get
Headers
AuthorizationstringrequiredBearer <API key>. Create a key in the dashboard under API keys.
Errors return { error: { code, message } }; every code is in Error codes.