Skip to main content

Get workspace id by name

Find a workspace's id from its name or domain, among the workspaces the agent's app is installed in.

Command in the Slack toolkit · id ooa.slack/get_workspace_id_by_name · 3 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Bot tokenCredentialYesSlack bot token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
NameStringYesWorkspace name or domain (not case-sensitive).
Endpoint addressStringNohttps://slack.com/apiAPI endpoint; change only for testing.

Outputs​

OutputTypeWhat it is
workspace_idStringWorkspace (team) id, e.g. T0123456789.