Skip to content

Commit 21ac84a

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/08/08
1 parent 63e5358 commit 21ac84a

12 files changed

+588
-4
lines changed

groups/slackLists.access.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "slackLists.access"
3+
}

groups/slackLists.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "slackLists"
3+
}

methods/assistant/assistant.search.context.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
"desc": "Send action_token as received in a message event.",
1717
"type": "string"
1818
},
19+
"after": {
20+
"required": false,
21+
"example": "1754670081",
22+
"desc": "UNIX timestamp filter. If present, filters for results after this date.",
23+
"type": "integer"
24+
},
25+
"before": {
26+
"required": false,
27+
"example": "1754670081",
28+
"desc": "UNIX timestamp filter. If present, filters for results before this date.",
29+
"type": "integer"
30+
},
1931
"channel_types": {
2032
"required": false,
2133
"example": "public_channel",
@@ -45,6 +57,12 @@
4557
"desc": "If you want the results to include bots.",
4658
"type": "boolean"
4759
},
60+
"include_context_messages": {
61+
"required": false,
62+
"example": "",
63+
"desc": "Whether to include context messages surrounding the main message result. Defaults to false if unspecified.",
64+
"type": "boolean"
65+
},
4866
"limit": {
4967
"required": false,
5068
"example": "20",

methods/bookmarks/bookmarks.add.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
},
5555
"errors": {
5656
"access_denied": "Access to a resource specified in the request is denied.",
57+
"cannot_bookmark_from_external_org": "File is an external file and cannot be bookmarked.",
58+
"cannot_bookmark_restricted_sharing_enabled": "File has restricted sharing enabled and cannot be bookmarked.",
5759
"channel_not_found": "Channel cannot be found.",
5860
"file_not_found": "File cannot be found.",
5961
"invalid_bookmark_type": "Bookmark type is not valid.",

methods/chat/chat.postMessage.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
"desc": "How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.",
3131
"type": "string"
3232
},
33-
"agent_message_source_type": {
34-
"required": false,
35-
"desc": "Identify how the message was posted for agentforce BE logging."
36-
},
3733
"as_user": {
3834
"required": false,
3935
"example": "true",
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"group": "slackLists",
3+
"name": "slackLists.access.delete",
4+
"deprecated": false,
5+
"desc": "Remove access to a list for specified entities",
6+
"args": {
7+
"list_id": {
8+
"required": true,
9+
"example": "F1234ABCD",
10+
"desc": "Encoded ID of the list."
11+
},
12+
"channel_ids": {
13+
"required": false,
14+
"example": "[\"C1234ABCD\"]",
15+
"desc": "List of channels you wish to update access for. Can only be used if user_ids is not provided.",
16+
"type": "array"
17+
},
18+
"user_ids": {
19+
"required": false,
20+
"example": "[\"U1234ABCD\"]",
21+
"desc": "List of users you wish to update access for. Can only be used if channel_ids is not provided.",
22+
"type": "array"
23+
}
24+
},
25+
"response": {
26+
"examples": [
27+
"{\n \"ok\": true\n}",
28+
"{\n \"ok\": false,\n \"error\": \"list_not_found\"\n}",
29+
"{\n \"ok\": true,\n \"failed_to_update_channel_ids\": [\n \"C12345678\"\n ]\n}",
30+
"{\n \"ok\": true,\n \"failed_to_update_user_ids\": [\n \"U12345678\"\n ]\n}"
31+
]
32+
},
33+
"errors": {
34+
"lists_disabled_user_team": "Lists is disabled on user's team.",
35+
"list_not_found": "The list you wish to update permissions for is not available.",
36+
"channel_not_found": "A channel could not be found.",
37+
"failed_to_update_user_ids": "Failed to update the specified user_ids.",
38+
"invalid_parameters": "One of user_ids or channel_ids must be defined, but not both.",
39+
"restricted_action": "User does not have permission to perform this action.",
40+
"user_not_found": "A user could not be found.",
41+
"access_denied": "Access to a resource specified in the request is denied.",
42+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
43+
"deprecated_endpoint": "The endpoint has been deprecated.",
44+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
45+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
46+
"invalid_auth": "Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.",
47+
"is_bot": "This method cannot be called by a legacy bot.",
48+
"method_deprecated": "The method has been deprecated.",
49+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
50+
"not_allowed_token_type": "The token type used in this request is not allowed.",
51+
"not_authed": "No authentication token provided.",
52+
"no_permission": "The workspace token used in this request does not have the permissions necessary to complete the request. Make sure your app is a member of the conversation it's attempting to post a message to.",
53+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
54+
"token_expired": "Authentication token has expired.",
55+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
56+
"two_factor_setup_required": "Two factor setup is required.",
57+
"team_access_not_granted": "The token used is not granted the specific workspace access required to complete this request.",
58+
"accesslimited": "Access to this method is limited on the current network.",
59+
"fatal_error": "The server could not complete your operation(s) without encountering a catastrophic error. It's possible some aspect of the operation succeeded before the error was raised.",
60+
"internal_error": "The server could not complete your operation(s) without encountering an error, likely due to a transient issue on our end. It's possible some aspect of the operation succeeded before the error was raised.",
61+
"invalid_arg_name": "The method was passed an argument whose name falls outside the bounds of accepted or expected values. This includes very long names and names with non-alphanumeric characters other than _. If you get this error, it is typically an indication that you have made a very malformed API call.",
62+
"invalid_arguments": "The method was either called with invalid arguments or some detail about the arguments passed is invalid, which is more likely when using complex arguments like blocks or attachments.",
63+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
64+
"invalid_charset": "The method was called via a POST request, but the charset specified in the Content-Type header was invalid. Valid charset names are: utf-8 iso-8859-1.",
65+
"invalid_form_data": "The method was called via a POST request with Content-Type application/x-www-form-urlencoded or multipart/form-data, but the form data was either missing or syntactically invalid.",
66+
"invalid_post_type": "The method was called via a POST request, but the specified Content-Type was invalid. Valid types are: application/json application/x-www-form-urlencoded multipart/form-data text/plain.",
67+
"missing_post_type": "The method was called via a POST request and included a data payload, but the request did not include a Content-Type header.",
68+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
69+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
70+
"service_unavailable": "The service is temporarily unavailable.",
71+
"team_added_to_org": "The workspace associated with your request is currently undergoing migration to an Enterprise Organization. Web API and other platform operations will be intermittently unavailable until the transition is complete."
72+
}
73+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"group": "slackLists",
3+
"name": "slackLists.access.set",
4+
"deprecated": false,
5+
"desc": "Sets the access level to a list for specified entities",
6+
"args": {
7+
"access_level": {
8+
"required": true,
9+
"example": "read",
10+
"desc": "Desired level of access."
11+
},
12+
"list_id": {
13+
"required": true,
14+
"example": "F1234ABCD",
15+
"desc": "Encoded ID of the list."
16+
},
17+
"channel_ids": {
18+
"required": false,
19+
"example": "[\"C1234ABCD\"]",
20+
"desc": "List of channels you wish to update access for. Can only be used if user_ids is not provided.",
21+
"type": "array"
22+
},
23+
"user_ids": {
24+
"required": false,
25+
"example": "[\"U1234ABCD\"]",
26+
"desc": "List of users you wish to update access for. Can only be used if channel_ids is not provided.",
27+
"type": "array"
28+
}
29+
},
30+
"response": {
31+
"examples": [
32+
"{\n \"ok\": true\n}",
33+
"{\n \"ok\": false,\n \"error\": \"restricted_action\"\n}"
34+
]
35+
},
36+
"errors": {
37+
"lists_disabled_user_team": "Lists is disabled on user's team.",
38+
"list_not_found": "The list you wish to update permissions for is not available.",
39+
"channel_not_found": "A channel could not be found.",
40+
"failed_to_update_user_ids": "Failed to update the specified user_ids.",
41+
"invalid_parameters": "One of user_ids or channel_ids must be defined, but not both.",
42+
"restricted_action": "User does not have permission to perform this action.",
43+
"user_not_found": "A user could not be found.",
44+
"access_denied": "Access to a resource specified in the request is denied.",
45+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
46+
"deprecated_endpoint": "The endpoint has been deprecated.",
47+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
48+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
49+
"invalid_auth": "Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.",
50+
"is_bot": "This method cannot be called by a legacy bot.",
51+
"method_deprecated": "The method has been deprecated.",
52+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
53+
"not_allowed_token_type": "The token type used in this request is not allowed.",
54+
"not_authed": "No authentication token provided.",
55+
"no_permission": "The workspace token used in this request does not have the permissions necessary to complete the request. Make sure your app is a member of the conversation it's attempting to post a message to.",
56+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
57+
"token_expired": "Authentication token has expired.",
58+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
59+
"two_factor_setup_required": "Two factor setup is required.",
60+
"team_access_not_granted": "The token used is not granted the specific workspace access required to complete this request.",
61+
"accesslimited": "Access to this method is limited on the current network.",
62+
"fatal_error": "The server could not complete your operation(s) without encountering a catastrophic error. It's possible some aspect of the operation succeeded before the error was raised.",
63+
"internal_error": "The server could not complete your operation(s) without encountering an error, likely due to a transient issue on our end. It's possible some aspect of the operation succeeded before the error was raised.",
64+
"invalid_arg_name": "The method was passed an argument whose name falls outside the bounds of accepted or expected values. This includes very long names and names with non-alphanumeric characters other than _. If you get this error, it is typically an indication that you have made a very malformed API call.",
65+
"invalid_arguments": "The method was either called with invalid arguments or some detail about the arguments passed is invalid, which is more likely when using complex arguments like blocks or attachments.",
66+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
67+
"invalid_charset": "The method was called via a POST request, but the charset specified in the Content-Type header was invalid. Valid charset names are: utf-8 iso-8859-1.",
68+
"invalid_form_data": "The method was called via a POST request with Content-Type application/x-www-form-urlencoded or multipart/form-data, but the form data was either missing or syntactically invalid.",
69+
"invalid_post_type": "The method was called via a POST request, but the specified Content-Type was invalid. Valid types are: application/json application/x-www-form-urlencoded multipart/form-data text/plain.",
70+
"missing_post_type": "The method was called via a POST request and included a data payload, but the request did not include a Content-Type header.",
71+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
72+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
73+
"service_unavailable": "The service is temporarily unavailable.",
74+
"team_added_to_org": "The workspace associated with your request is currently undergoing migration to an Enterprise Organization. Web API and other platform operations will be intermittently unavailable until the transition is complete."
75+
}
76+
}

0 commit comments

Comments
 (0)