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
| Name | Type | Description |
|---|---|---|
team_id required | string | The ID (T1234) of the workspace. |
user_id required | string | The ID of the user to add to the workspace. |
is_restricted | boolean | True if user should be added to the workspace as a guest. |
is_ultra_restricted | boolean | True if user should be added to the workspace as a single-channel guest. |
channel_ids | string | Comma 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:
{
"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:
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
- Approve an app for installation on a workspace.
- List approved apps for an org or workspace.
- List app requests for a team/workspace.
- Restrict an app for installation on a workspace.
- List restricted apps for an org or workspace.
- Archive a public or private channel.
- Convert a public channel to a private channel.
- Create a public or private channel-based conversation.
- All 174