IntegrationsSlackActions
Invite users to Slack channel
Invite one or more users to a public or private channel the app has joined.
channels.invite · Slack · v1
Details
Scopes
channels:managegroups:write
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
channel_id | string | Yes | minLength 1; maxLength 64 |
user_ids | array<string> | Yes | minItems 1; maxItems 100 |
user_ids[] | string | Yes | minLength 1; maxLength 64 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | — |
name | string | Yes | — |
is_private | boolean | No | — |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"channel_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"user_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"minItems": 1,
"maxItems": 100
}
},
"required": [
"channel_id",
"user_ids"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"is_private": {
"type": "boolean"
}
},
"required": [
"id",
"name"
]
}