Skip to content

Commit c4fa602

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/06/02
1 parent c408935 commit c4fa602

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

methods/admin/admin.apps.config.lookup.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,25 @@
55
"desc": "Look up the app config for connectors by their IDs",
66
"args": {
77
"app_ids": {
8-
"required": true,
8+
"required": false,
99
"example": "A0A2R51A5,A0A2R51A6",
1010
"desc": "An array of app IDs to get app configs for.",
1111
"type": "array"
12+
},
13+
"rich_link_preview_types": {
14+
"required": false,
15+
"example": "limited_details, no_preview",
16+
"desc": "return apps with the corresponding rich link preview layouts.",
17+
"type": "array"
1218
}
1319
},
1420
"response": {
1521
"examples": [
16-
"{\n \"ok\": true,\n \"configs\": [\n {\n \"app_id\": \"A123\",\n \"workflow_auth_strategy\": \"end_user_only\",\n \"domain_restrictions\": {\n \"emails\": [\n \"my-corp.com\",\n \"yourcorp.com\"\n ],\n \"urls\": [\n \"mycorp.company.com\",\n \"mycorp2.company.com\"\n ]\n }\n },\n {\n \"app_id\": \"A456\",\n \"workflow_auth_strategy\": \"builder_choice\",\n \"domain_restrictions\": {\n \"emails\": [],\n \"urls\": []\n }\n }\n ]\n}"
22+
"{\n \"ok\": true,\n \"configs\": [\n {\n \"app_id\": \"A123\",\n \"workflow_auth_strategy\": \"end_user_only\",\n \"rich_link_preview_type\": \"limited_details\",\n \"domain_restrictions\": {\n \"emails\": [\n \"my-corp.com\",\n \"yourcorp.com\"\n ],\n \"urls\": [\n \"mycorp.company.com\",\n \"mycorp2.company.com\"\n ]\n }\n },\n {\n \"app_id\": \"A456\",\n \"workflow_auth_strategy\": \"builder_choice\",\n \"rich_link_preview_type\": \"no_preview\",\n \"domain_restrictions\": {\n \"emails\": [],\n \"urls\": []\n }\n }\n ]\n}"
1723
]
1824
},
1925
"errors": {
26+
"missing_args": "Either app_ids or rich_link_preview_types must be provided.",
2027
"access_denied": "Access to a resource specified in the request is denied.",
2128
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
2229
"deprecated_endpoint": "The endpoint has been deprecated.",

0 commit comments

Comments
 (0)