Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.conversations.invite.json
{
"args": {
"channel_id": {
"desc": "The channel that the users will be invited to.",
"example": "C12345",
"required": true
},
"user_ids": {
"desc": "The users to invite.",
"example": "U1234,U2345,U3456",
"required": true,
"type": "array"
}
},
"desc": "Invite a user to a public or private channel.",
"errors": {
"channel_not_found": "The value passed for `channel_id` was invalid.",
"channel_type_not_supported": "The provided `channel_id` was a DM, MPDM, or the 'general' channel.",
"default_org_wide_channel": "Users may not be invited to the default org-wide channel.",
"failed_for_some_users": "The method failed for a subset of the users passed.",
"feature_not_enabled": "The token provided doesn't have access to this method.",
"restricted_action": "A workspace preference prevents the authenticated user from inviting.",
"user_must_be_admin": "The token provided must be associated with an Org Admin or Owner."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.conversations:write",
"url": "https://docs.slack.dev/reference/scopes/admin.conversations.write"
}
]
}
}