Skip to content

Commit be8d2ed

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2026/04/27
1 parent a2511de commit be8d2ed

4 files changed

Lines changed: 26 additions & 2 deletions

File tree

docs.slack.dev/methods/admin.apps.approve.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@
3939
"desc": "The ID of the enterprise to approve the app on",
4040
"example": "E12345",
4141
"schema": "enterprise_id"
42+
},
43+
"user_scopes": {
44+
"desc": "User scopes to approve for the app",
45+
"example": "emoji:read,pins:read",
46+
"type": "string"
47+
},
48+
"bot_scopes": {
49+
"desc": "Bot scopes to approve for the app",
50+
"example": "emoji:read,pins:read",
51+
"type": "string"
4252
}
4353
}
4454
},

docs.slack.dev/methods/admin.apps.requests.list.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@
161161
"name": "incoming-webhook",
162162
"description": "Post messages to specific channels in Slack",
163163
"is_sensitive": false,
164-
"token_type": "user"
164+
"token_type": "user",
165+
"is_optional": true,
166+
"is_approved": false
165167
}
166168
],
167169
"message": "Could you please install this app for me, it does everything I need.",

methods/admin/admin.apps.approve.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@
2525
"required": false,
2626
"example": "E12345",
2727
"desc": "The ID of the enterprise to approve the app on."
28+
},
29+
"user_scopes": {
30+
"required": false,
31+
"example": "emoji:read,pins:read",
32+
"desc": "User scopes to approve for the app.",
33+
"type": "string"
34+
},
35+
"bot_scopes": {
36+
"required": false,
37+
"example": "emoji:read,pins:read",
38+
"desc": "Bot scopes to approve for the app.",
39+
"type": "string"
2840
}
2941
},
3042
"response": {

methods/admin/admin.apps.requests.list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"response": {
3535
"examples": [
36-
"{\n \"ok\": true,\n \"app_requests\": [\n {\n \"id\": \"Ar0XJGFLMLS\",\n \"app\": {\n \"id\": \"A061BL8RQ0\",\n \"name\": \"Test App\",\n \"description\": \"\",\n \"help_url\": \"\",\n \"privacy_policy_url\": \"https://testapp.com/privacy\",\n \"app_homepage_url\": \"\",\n \"app_directory_url\": \"https://acmecorp.slack.com/apps/A061BL8RQ0-test-app\",\n \"is_app_directory_approved\": true,\n \"is_internal\": true,\n \"developer_type\": \"internal\",\n \"socket_mode_enabled\": false,\n \"icons\": {\n \"image_32\": \"/cdn/157658203/img/testapp/service_32.png\",\n \"image_36\": \"/cdn/157658203/img/testapp/service_36.png\",\n \"image_48\": \"/cdn/157658203/img/testapp/service_48.png\",\n \"image_64\": \"/cdn/157658203/img/testapp/service_64.png\",\n \"image_72\": \"/cdn/157658203/img/testapp/service_72.png\",\n \"image_96\": \"/cdn/157658203/img/testapp/service_96.png\",\n \"image_128\": \"/cdn/157258203/img/testapp/service_128.png\",\n \"image_192\": \"/cdn/157258203/img/testapp/service_192.png\",\n \"image_512\": \"/cdn/15758203/img/testapp/service_512.png\",\n \"image_1024\": \"/cdn/15258203/img/testapp/service_1024.png\"\n },\n \"additional_info\": \"\"\n },\n \"previous_resolution\": null,\n \"user\": {\n \"id\": \"W08RA9G5HR\",\n \"name\": \"Jane Doe\",\n \"email\": \"janedoe@example.com\"\n },\n \"team\": {\n \"id\": \"T0M94LNUCR\",\n \"name\": \"Acme Corp\",\n \"domain\": \"acmecorp\"\n },\n \"scopes\": [\n {\n \"name\": \"incoming-webhook\",\n \"description\": \"Post messages to specific channels in Slack\",\n \"is_sensitive\": false,\n \"token_type\": \"user\"\n }\n ],\n \"message\": \"Could you please install this app for me, it does everything I need.\",\n \"is_user_app_collaborator\": false,\n \"date_created\": 1578956327\n }\n ],\n \"response_metadata\": {\n \"next_cursor\": \"\"\n }\n}",
36+
"{\n \"ok\": true,\n \"app_requests\": [\n {\n \"id\": \"Ar0XJGFLMLS\",\n \"app\": {\n \"id\": \"A061BL8RQ0\",\n \"name\": \"Test App\",\n \"description\": \"\",\n \"help_url\": \"\",\n \"privacy_policy_url\": \"https://testapp.com/privacy\",\n \"app_homepage_url\": \"\",\n \"app_directory_url\": \"https://acmecorp.slack.com/apps/A061BL8RQ0-test-app\",\n \"is_app_directory_approved\": true,\n \"is_internal\": true,\n \"developer_type\": \"internal\",\n \"socket_mode_enabled\": false,\n \"icons\": {\n \"image_32\": \"/cdn/157658203/img/testapp/service_32.png\",\n \"image_36\": \"/cdn/157658203/img/testapp/service_36.png\",\n \"image_48\": \"/cdn/157658203/img/testapp/service_48.png\",\n \"image_64\": \"/cdn/157658203/img/testapp/service_64.png\",\n \"image_72\": \"/cdn/157658203/img/testapp/service_72.png\",\n \"image_96\": \"/cdn/157658203/img/testapp/service_96.png\",\n \"image_128\": \"/cdn/157258203/img/testapp/service_128.png\",\n \"image_192\": \"/cdn/157258203/img/testapp/service_192.png\",\n \"image_512\": \"/cdn/15758203/img/testapp/service_512.png\",\n \"image_1024\": \"/cdn/15258203/img/testapp/service_1024.png\"\n },\n \"additional_info\": \"\"\n },\n \"previous_resolution\": null,\n \"user\": {\n \"id\": \"W08RA9G5HR\",\n \"name\": \"Jane Doe\",\n \"email\": \"janedoe@example.com\"\n },\n \"team\": {\n \"id\": \"T0M94LNUCR\",\n \"name\": \"Acme Corp\",\n \"domain\": \"acmecorp\"\n },\n \"scopes\": [\n {\n \"name\": \"incoming-webhook\",\n \"description\": \"Post messages to specific channels in Slack\",\n \"is_sensitive\": false,\n \"token_type\": \"user\",\n \"is_optional\": true,\n \"is_approved\": false\n }\n ],\n \"message\": \"Could you please install this app for me, it does everything I need.\",\n \"is_user_app_collaborator\": false,\n \"date_created\": 1578956327\n }\n ],\n \"response_metadata\": {\n \"next_cursor\": \"\"\n }\n}",
3737
"{\n \"ok\": false,\n \"error\": \"missing_scope\",\n \"needed\": \"admin.apps:read\",\n \"provided\": \"read,client,admin,identify,post,apps\"\n}"
3838
]
3939
},

0 commit comments

Comments
 (0)