Home / Servers / Slack API / admin_users_assign

Add an Enterprise user to a workspace.

An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.

Add an Enterprise user to a workspace. [POST /admin.users.assign]

Name on the gateway: slack_api__admin_users_assign · may change things.

Parameters

NameTypeDescription
team_id requiredstringThe ID (T1234) of the workspace.
user_id requiredstringThe ID of the user to add to the workspace.
is_restrictedbooleanTrue if user should be added to the workspace as a guest.
is_ultra_restrictedbooleanTrue if user should be added to the workspace as a single-channel guest.
channel_idsstringComma separated values of channel IDs to add user in the new workspace.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "slack_api__admin_users_assign",
  "arguments": {
    "team_id": "…",
    "user_id": "…"
  }
}

Or connect the Slack API server directly, which lists 174 tools including this one:

Run in your terminal
claude mcp add --transport http hj-slack-api https://mcp.hjlabs.in/mcp/slack-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the add an enterprise user to a workspace. tool with team_id set to ….

More from Slack API