Skip to content

Commit f3b64f7

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/07/21
1 parent 8848273 commit f3b64f7

File tree

5 files changed

+242
-0
lines changed

5 files changed

+242
-0
lines changed

groups/workflows.featured.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "workflows.featured"
3+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"group": "workflows",
3+
"name": "workflows.featured.add",
4+
"deprecated": false,
5+
"desc": "Add featured workflows to a channel.",
6+
"args": {
7+
"channel_id": {
8+
"required": true,
9+
"example": "C1234567890",
10+
"desc": "Channel to add featured workflow in.",
11+
"type": "string"
12+
},
13+
"trigger_ids": {
14+
"required": true,
15+
"example": "[\"Ft012345\", \"Ft012346\"]",
16+
"desc": "Comma-separated array of trigger IDs to add; max 15.",
17+
"type": "array"
18+
}
19+
},
20+
"response": {
21+
"examples": [
22+
"{\n \"ok\": true\n}",
23+
"{\n \"ok\": false,\n \"error\": \"error_modifying_workflows\"\n}"
24+
]
25+
},
26+
"errors": {
27+
"method_not_supported": "Method not yet supported.",
28+
"restricted_action": "User does not have access to this method.",
29+
"error_modifying_workflows": "Error modifying workflows.",
30+
"access_denied": "Access to a resource specified in the request is denied.",
31+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
32+
"deprecated_endpoint": "The endpoint has been deprecated.",
33+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
34+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
35+
"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.",
36+
"is_bot": "This method cannot be called by a legacy bot.",
37+
"method_deprecated": "The method has been deprecated.",
38+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
39+
"not_allowed_token_type": "The token type used in this request is not allowed.",
40+
"not_authed": "No authentication token provided.",
41+
"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.",
42+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
43+
"token_expired": "Authentication token has expired.",
44+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
45+
"two_factor_setup_required": "Two factor setup is required.",
46+
"accesslimited": "Access to this method is limited on the current network.",
47+
"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.",
48+
"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.",
49+
"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.",
50+
"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.",
51+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
52+
"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.",
53+
"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.",
54+
"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.",
55+
"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.",
56+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
57+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
58+
"service_unavailable": "The service is temporarily unavailable.",
59+
"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."
60+
}
61+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"group": "workflows",
3+
"name": "workflows.featured.list",
4+
"deprecated": false,
5+
"desc": "List the featured workflows for specified channels.",
6+
"args": {
7+
"channel_ids": {
8+
"required": true,
9+
"example": "[\"C012345678\", \"C987654321\"]",
10+
"desc": "Comma-separated array of channel IDs to list featured workflows for.",
11+
"type": "array"
12+
}
13+
},
14+
"response": {
15+
"examples": [
16+
"{\n \"ok\": true,\n \"example\": [\n {\n \"channel_id\": \"C012345678\",\n \"triggers\": [\n {\n \"id\": \"Ft1234\",\n \"title\": \"Tabby workflow\"\n },\n {\n \"id\": \"Ft5678\",\n \"title\": \"Tortoise workflow\"\n }\n ]\n },\n {\n \"channel_id\": \"C987654321\",\n \"triggers\": [\n {\n \"id\": \"Ft1234\",\n \"title\": \"Ragdoll workflow\"\n },\n {\n \"id\": \"Ft5678\",\n \"title\": \"Calico workflow\"\n }\n ]\n }\n ]\n}",
17+
"{\n \"ok\": false,\n \"error\": \"channel_not_found\"\n}"
18+
]
19+
},
20+
"errors": {
21+
"method_not_supported": "Method not yet supported.",
22+
"restricted_action": "User does not have access to this method.",
23+
"channel_not_found": "Channel not found.",
24+
"error_invalid_channels": "Invalid channels provided.",
25+
"access_denied": "Access to a resource specified in the request is denied.",
26+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
27+
"deprecated_endpoint": "The endpoint has been deprecated.",
28+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
29+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
30+
"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.",
31+
"is_bot": "This method cannot be called by a legacy bot.",
32+
"method_deprecated": "The method has been deprecated.",
33+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
34+
"not_allowed_token_type": "The token type used in this request is not allowed.",
35+
"not_authed": "No authentication token provided.",
36+
"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.",
37+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
38+
"token_expired": "Authentication token has expired.",
39+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
40+
"two_factor_setup_required": "Two factor setup is required.",
41+
"accesslimited": "Access to this method is limited on the current network.",
42+
"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.",
43+
"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.",
44+
"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.",
45+
"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.",
46+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
47+
"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.",
48+
"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.",
49+
"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.",
50+
"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.",
51+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
52+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
53+
"service_unavailable": "The service is temporarily unavailable.",
54+
"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."
55+
}
56+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"group": "workflows",
3+
"name": "workflows.featured.remove",
4+
"deprecated": false,
5+
"desc": "Remove featured workflows from a channel.",
6+
"args": {
7+
"channel_id": {
8+
"required": true,
9+
"example": "C1234567890",
10+
"desc": "Channel to remove featured workflow from.",
11+
"type": "string"
12+
},
13+
"trigger_ids": {
14+
"required": true,
15+
"example": "[\"Ft012345\", \"Ft012346\"]",
16+
"desc": "Comma-separated array of trigger IDs to remove; max 15.",
17+
"type": "array"
18+
}
19+
},
20+
"response": {
21+
"examples": [
22+
"{\n \"ok\": true\n}",
23+
"{\n \"ok\": false,\n \"error\": \"error_modifying_workflows\"\n}"
24+
]
25+
},
26+
"errors": {
27+
"method_not_supported": "Method not yet supported.",
28+
"restricted_action": "User does not have access to this method.",
29+
"error_modifying_workflows": "Error modifying workflows.",
30+
"access_denied": "Access to a resource specified in the request is denied.",
31+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
32+
"deprecated_endpoint": "The endpoint has been deprecated.",
33+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
34+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
35+
"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.",
36+
"is_bot": "This method cannot be called by a legacy bot.",
37+
"method_deprecated": "The method has been deprecated.",
38+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
39+
"not_allowed_token_type": "The token type used in this request is not allowed.",
40+
"not_authed": "No authentication token provided.",
41+
"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.",
42+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
43+
"token_expired": "Authentication token has expired.",
44+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
45+
"two_factor_setup_required": "Two factor setup is required.",
46+
"accesslimited": "Access to this method is limited on the current network.",
47+
"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.",
48+
"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.",
49+
"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.",
50+
"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.",
51+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
52+
"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.",
53+
"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.",
54+
"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.",
55+
"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.",
56+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
57+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
58+
"service_unavailable": "The service is temporarily unavailable.",
59+
"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."
60+
}
61+
}

0 commit comments

Comments
 (0)