Pages in API reference

Workspace

Get the current workspace

GET/api/workspaces/current

Return 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 createdBy is 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

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

Errors return { error: { code, message } }; every code is in Error codes.