Admin Users Invite
Invite a user to a workspace.
Authorization
slackAuth admin.users:writeIn: header
Scope: admin.users:write
Header Parameters
Authentication token. Requires scope: admin.users:write
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
The ID (T1234) of the workspace.
The email address of the person to invite.
A comma-separated list of channel_ids for this user to join. At least one channel is required.
An optional message to send to the user in the invite email.
Full name of the user.
Allow this invite to be resent in the future if a user has not signed up yet. (default: false)
Is this user a multi-channel guest user? (default: false)
Is this user a single channel guest user? (default: false)
Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.users.invite" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'team_id=string&email=string&channel_ids=string'{ "ok": "True"}
