Workspaces are the top-level containers for all your reviews, forms, widgets, and pages. Most tools require a workspace ID, so call list_workspaces first to get it.
Despite its name, get_workspace_branding writes. As well as returning the colours it finds, it saves the fetched logo and favicon onto the workspace, the same as the web app’s fetch. It is not a read-only lookup.
get_workspace does not report permissions. It returns a permissions field, but the value is null. Your role in a workspace comes from list_workspaces, which returns a role field (owner, admin, editor, or viewer) for every workspace.
Which Workspace ID to Use
Every workspace has two identifiers, and only one of them works with the API:
unique_workspace_id is the string identifier used everywhere. It is sent as the fs-workspace-id header and used as the path segment for workspace-scoped routes.
id is numeric and is not accepted. Passing it where unique_workspace_id is expected returns a 404 “workspace not found”.
list_workspaces returns both, so always carry the unique_workspace_id value forward.