Home / Servers / Slack API / admin_users_invite

Invite a user to a workspace.

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

Invite a user to a workspace. [POST /admin.users.invite]

Name on the gateway: slack_api__admin_users_invite · may change things.

Parameters

NameTypeDescription
team_id requiredstringThe ID (T1234) of the workspace.
email requiredstringThe email address of the person to invite.
channel_ids requiredstringA comma-separated list of channel_ids for this user to join. At least one…
custom_messagestringAn optional message to send to the user in the invite email.
real_namestringFull name of the user.
resendbooleanAllow this invite to be resent in the future if a user has not signed up yet.…
is_restrictedbooleanIs this user a multi-channel guest user? (default: false)
is_ultra_restrictedbooleanIs this user a single channel guest user? (default: false)
guest_expiration_tsstringTimestamp when guest account should be disabled. Only include this timestamp…

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_invite",
  "arguments": {
    "team_id": "…",
    "email": "…",
    "channel_ids": "…"
  }
}

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 invite a user to a workspace. tool with team_id set to ….

More from Slack API