Skip to content

Commit b0942c4

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/07/28
1 parent 4f2de3c commit b0942c4

3 files changed

+127
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "admin.workflows.triggers.types.permissionsWithStepRestrictions"
3+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"group": "admin",
3+
"name": "admin.workflows.triggers.types.permissionsWithStepRestrictions.lookup",
4+
"deprecated": false,
5+
"desc": "list the permissions for using each trigger type with step restrictions",
6+
"args": {
7+
"trigger_type_ids": {
8+
"required": true,
9+
"example": "['FTT01', 'FTT02', 'FTT03']",
10+
"desc": "The trigger types IDs for which to get the permissions.",
11+
"type": "array"
12+
}
13+
},
14+
"response": {
15+
"examples": [
16+
17+
]
18+
},
19+
"errors": {
20+
"restricted_action": "This actor does not have access to view the permissions on this resource.",
21+
"trigger_type_id_not_found": "The given trigger type ID(s) do not map to valid trigger types.",
22+
"access_denied": "Access to a resource specified in the request is denied.",
23+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
24+
"deprecated_endpoint": "The endpoint has been deprecated.",
25+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
26+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
27+
"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.",
28+
"is_bot": "This method cannot be called by a legacy bot.",
29+
"method_deprecated": "The method has been deprecated.",
30+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
31+
"not_allowed_token_type": "The token type used in this request is not allowed.",
32+
"not_authed": "No authentication token provided.",
33+
"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.",
34+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
35+
"token_expired": "Authentication token has expired.",
36+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
37+
"two_factor_setup_required": "Two factor setup is required.",
38+
"accesslimited": "Access to this method is limited on the current network.",
39+
"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.",
40+
"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.",
41+
"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.",
42+
"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.",
43+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
44+
"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.",
45+
"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.",
46+
"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.",
47+
"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.",
48+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
49+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
50+
"service_unavailable": "The service is temporarily unavailable.",
51+
"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."
52+
}
53+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"group": "admin",
3+
"name": "admin.workflows.triggers.types.permissionsWithStepRestrictions.set",
4+
"deprecated": false,
5+
"desc": "Set the permissions for using a trigger type with step restrictions",
6+
"args": {
7+
"id": {
8+
"required": true,
9+
"example": "['FTT01', 'FTT02', 'FTT03']",
10+
"desc": "The trigger type ID for which to set the permissions."
11+
},
12+
"visibility": {
13+
"required": true,
14+
"desc": "The function visibility.",
15+
"type": "enum"
16+
},
17+
"step_restrictions": {
18+
"required": false,
19+
"example": "['Fn0107', 'Fn0108', 'Fn0109']",
20+
"desc": "List of steps to restrict.",
21+
"type": "array"
22+
},
23+
"user_ids": {
24+
"required": false,
25+
"example": "['U00000001', 'U00000002', 'U00000003']",
26+
"desc": "List of user IDs to allow for named_entities visibility.",
27+
"type": "array"
28+
}
29+
},
30+
"response": {
31+
"examples": [
32+
33+
]
34+
},
35+
"errors": {
36+
"restricted_action": "This actor does not have access to the permissions on this resource.",
37+
"trigger_type_id_not_found": "The referenced trigger type ID does not exist.",
38+
"visibility_is_not_named_entities": "The visibility should be named enitites when the user_ids, team_ids, or org_ids args are set.",
39+
"invalid_named_entities": "Named entities visibility requires a valid set of named entities to be specified.",
40+
"access_denied": "Access to a resource specified in the request is denied.",
41+
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
42+
"deprecated_endpoint": "The endpoint has been deprecated.",
43+
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
44+
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
45+
"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.",
46+
"is_bot": "This method cannot be called by a legacy bot.",
47+
"method_deprecated": "The method has been deprecated.",
48+
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",
49+
"not_allowed_token_type": "The token type used in this request is not allowed.",
50+
"not_authed": "No authentication token provided.",
51+
"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.",
52+
"org_login_required": "The workspace is undergoing an enterprise migration and will not be available until migration is complete.",
53+
"token_expired": "Authentication token has expired.",
54+
"token_revoked": "Authentication token is for a deleted user or workspace or the app has been removed when using a user token.",
55+
"two_factor_setup_required": "Two factor setup is required.",
56+
"accesslimited": "Access to this method is limited on the current network.",
57+
"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.",
58+
"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.",
59+
"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.",
60+
"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.",
61+
"invalid_array_arg": "The method was passed an array as an argument. Please only input valid strings.",
62+
"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.",
63+
"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.",
64+
"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.",
65+
"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.",
66+
"ratelimited": "The request has been ratelimited. Refer to the Retry-After header for when to retry the request.",
67+
"request_timeout": "The method was called via a POST request, but the POST data was either missing or truncated.",
68+
"service_unavailable": "The service is temporarily unavailable.",
69+
"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."
70+
}
71+
}

0 commit comments

Comments
 (0)