Skip to content

Commit f6f4383

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/11/21
1 parent 6bdbcfe commit f6f4383

20 files changed

+244
-41
lines changed

docs.slack.dev/methods/admin.usergroups.addTeams.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
"no_team_ids_given": {
5858
"desc": "The `team_ids` parameter was empty."
5959
},
60+
"team_limit_exceeded": {
61+
"desc": "The number of teams associated with the org group would exceed the limit."
62+
},
6063
"usergroup_not_found": {
6164
"desc": "`usergroup_id` wasn't found."
6265
}

docs.slack.dev/methods/admin.users.invite.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"real_name": {
4646
"desc": "Full name of the user.",
4747
"type": "string",
48-
"example": "{\"full_name\":\"Joe Smith\"}"
48+
"example": "{\"Joe Smith\"}"
4949
},
5050
"resend": {
5151
"desc": "Allow this invite to be resent in the future if a user has not signed up yet. Resending can only be done via the UI and has no expiration. (default: false)",

docs.slack.dev/methods/admin.users.setAdmin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"team_id": {
2626
"desc": "The ID (`T1234`) of the workspace.",
27-
"schema": "workspace_id"
27+
"schema": "team_id"
2828
},
2929
"user_id": {
3030
"desc": "The ID of the user to designate as an admin.",

docs.slack.dev/methods/admin.users.setOwner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"team_id": {
2626
"desc": "The ID (`T1234`) of the workspace.",
27-
"schema": "workspace_id"
27+
"schema": "team_id"
2828
},
2929
"user_id": {
3030
"desc": "Id of the user to promote to owner.",

docs.slack.dev/methods/admin.users.setRegular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"team_id": {
2626
"desc": "The ID (`T1234`) of the workspace.",
27-
"schema": "workspace_id"
27+
"schema": "team_id"
2828
},
2929
"user_id": {
3030
"desc": "The ID of the user to designate as a regular user.",

docs.slack.dev/methods/admin.workflows.triggers.types.permissions.lookup.json

Lines changed: 96 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"desc": "list the permissions for using each trigger type",
2+
"desc": "List the permissions for using each trigger type.",
33
"http_method": "POST",
44
"scope": {
55
"user": [
@@ -25,7 +25,7 @@
2525
"type": "array",
2626
"minItems": 1,
2727
"maxItems": 1000,
28-
"desc": "The trigger types IDs for which to get the permissions",
28+
"desc": "The trigger type IDs for which to get the permissions.",
2929
"example": "['FTT01', 'FTT02', 'FTT03']",
3030
"items": {
3131
"schema": "function_trigger_type_id"
@@ -40,6 +40,96 @@
4040
"metadata"
4141
],
4242
"properties": {
43+
"permissions": {
44+
"type": "object",
45+
"patternProperties": {
46+
"^Ftt[A-Z0-9]{4,}$": {
47+
"type": "object",
48+
"additionalProperties": false,
49+
"properties": {
50+
"permission": {
51+
"type": "string",
52+
"enum": [
53+
"everyone",
54+
"named_entities",
55+
"no_one"
56+
]
57+
},
58+
"user_ids": {
59+
"type": "array",
60+
"desc": "List of user IDs to allow for `named_entities` visibility.",
61+
"example": "['U00000001', 'U00000002', 'U00000003']",
62+
"items": {
63+
"schema": "user_id"
64+
}
65+
},
66+
"team_ids": {
67+
"type": "array",
68+
"desc": "List of team IDs to allow for `named_entities` visibility.",
69+
"example": "['T00000001', 'T00000002', 'T00000003']",
70+
"items": {
71+
"schema": "workspace_id"
72+
}
73+
},
74+
"org_ids": {
75+
"type": "array",
76+
"desc": "List of org IDs to allow for `named_entities` visibility.",
77+
"example": "['E00000001', 'E00000002', 'E00000003']",
78+
"items": {
79+
"schema": "enterprise_id"
80+
}
81+
},
82+
"permissions": {
83+
"type": "object",
84+
"desc": "Object of permissions for the trigger type keyed by permission type.",
85+
"patternProperties": {
86+
"trigger_type|private_channel_access|private_channel_message_access": {
87+
"type": "object",
88+
"required": [
89+
"permission"
90+
],
91+
"additionalProperties": false,
92+
"properties": {
93+
"permission": {
94+
"type": "string",
95+
"enum": [
96+
"everyone",
97+
"named_entities",
98+
"no_one"
99+
]
100+
},
101+
"user_ids": {
102+
"type": "array",
103+
"desc": "List of user IDs to allow for named_entities visibility",
104+
"example": "['U00000001', 'U00000002', 'U00000003']",
105+
"items": {
106+
"schema": "user_id"
107+
}
108+
},
109+
"team_ids": {
110+
"type": "array",
111+
"desc": "List of team IDs to allow for named_entities visibility",
112+
"example": "['T00000001', 'T00000002', 'T00000003']",
113+
"items": {
114+
"schema": "workspace_id"
115+
}
116+
},
117+
"org_ids": {
118+
"type": "array",
119+
"desc": "List of org IDs to allow for named_entities visibility",
120+
"example": "['E00000001', 'E00000002', 'E00000003']",
121+
"items": {
122+
"schema": "enterprise_id"
123+
}
124+
}
125+
}
126+
}
127+
}
128+
}
129+
}
130+
}
131+
}
132+
},
43133
"metadata": {
44134
"type": "object",
45135
"patternProperties": {
@@ -50,18 +140,19 @@
50140
"workflows_using",
51141
"available_in_workflow_builder"
52142
],
143+
"additionalProperties": false,
53144
"properties": {
54145
"date_released": {
55146
"type": "integer",
56-
"desc": "the date this trigger type was released"
147+
"desc": "The date this trigger type was released."
57148
},
58149
"workflows_using": {
59150
"type": "integer",
60-
"desc": "the number of workflows with a trigger of this type"
151+
"desc": "The number of workflows with a trigger of this type."
61152
},
62153
"available_in_workflow_builder": {
63154
"type": "boolean",
64-
"desc": "Is the trigger available for use in workflow builder"
155+
"desc": "Whether the trigger available for use in Workflow Builder."
65156
}
66157
}
67158
}

docs.slack.dev/methods/admin.workflows.triggers.types.permissions.set.json

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"type": "object",
1313
"required": [
1414
"token",
15-
"id",
16-
"visibility"
15+
"id"
1716
],
1817
"properties": {
1918
"token": {
@@ -44,22 +43,75 @@
4443
"schema": "user_id"
4544
},
4645
"maxItems": 50
46+
},
47+
"permissions": {
48+
"type": "object",
49+
"additionalProperties": false,
50+
"properties": {
51+
"permissions": {
52+
"desc": "Dict of permissions keyed by permission type ID.",
53+
"type": "object",
54+
"patternProperties": {
55+
"trigger_type|private_channel_access|private_channel_message_access": {
56+
"type": "object",
57+
"required": [
58+
"visibility"
59+
],
60+
"additionalProperties": false,
61+
"properties": {
62+
"visibility": {
63+
"type": "string",
64+
"enum": [
65+
"everyone",
66+
"named_entities",
67+
"no_one"
68+
]
69+
},
70+
"user_ids": {
71+
"type": "array",
72+
"desc": "List of user IDs to allow for named_entities visibility",
73+
"example": "['U00000001', 'U00000002', 'U00000003']",
74+
"items": {
75+
"schema": "user_id"
76+
},
77+
"resource": {
78+
"user_fetch_options": {
79+
"top_level": true
80+
}
81+
},
82+
"maxItems": 50,
83+
"uniqueItems": true
84+
}
85+
}
86+
}
87+
}
88+
}
89+
}
4790
}
4891
}
4992
},
5093
"output": null,
5194
"errors": {
95+
"invalid_named_entities": {
96+
"desc": "Named entities visibility requires a valid set of named entities to be specified"
97+
},
98+
"invalid_permission_type": {
99+
"desc": "This permission type is invalid."
100+
},
101+
"invalid_permission_set": {
102+
"desc": "This permission set is invalid."
103+
},
104+
"required_visibility": {
105+
"desc": "Visibility is required on this resource."
106+
},
52107
"restricted_action": {
53108
"desc": "This actor does not have access to the permissions on this resource."
54109
},
55110
"trigger_type_id_not_found": {
56111
"desc": "The referenced trigger type ID does not exist."
57112
},
58113
"visibility_is_not_named_entities": {
59-
"desc": "The visibility should be named enitites when the user_ids, team_ids, or org_ids args are set"
60-
},
61-
"invalid_named_entities": {
62-
"desc": "Named entities visibility requires a valid set of named entities to be specified"
114+
"desc": "The visibility should be named entities when the user_ids, team_ids, or org_ids args are set"
63115
}
64116
}
65117
}

docs.slack.dev/methods/assistant.threads.setStatus.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
},
3636
"status": {
3737
"type": "string",
38-
"desc": "Status of the specified bot user, e.g. 'is thinking...'"
38+
"desc": "Status of the specified bot user, e.g., 'is thinking...'. A two minute timeout applies, which will cause the status to be removed if no message has been sent."
3939
},
4040
"loading_messages": {
4141
"type": "array",
42-
"desc": "The list of messages to rotate through as a loading indicator.",
42+
"desc": "The list of messages to rotate through as a loading indicator. Maximum of 10 messages.",
4343
"minItems": 1,
4444
"maxItems": 10,
4545
"items": {

docs.slack.dev/methods/chat.startStream.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"example": "xxxx-xxxxxxxxx-xxxx"
2828
},
2929
"channel": {
30-
"desc": "An encoded ID that represents a channel, private group, or DM",
30+
"desc": "An encoded ID that represents a channel thread or DM.",
3131
"type": "string",
3232
"subtype": "channel"
3333
},

docs.slack.dev/methods/chat.stopStream.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114
"message_limit_exceeded": {
115115
"desc": "Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces"
116116
},
117+
"message_not_owned_by_bot": {
118+
"desc": "The message is not owned by the bot."
119+
},
117120
"messages_tab_disabled": {
118121
"desc": "Messages tab for the app is disabled."
119122
},

0 commit comments

Comments
 (0)