Slack
Requires the Snyk Slack App to be set up for this org, will retrieve a list of channels the Snyk Slack App can access. Note that it is currently only possible to page forwards through this collection, no prev links will be generated and the ending_before parameter will not function.
Required permissions
Install Apps (org.app.install)
Authorizations
Path parameters
org_idstring · uuidRequired
Org ID
tenant_idstring · uuidRequired
Tenant ID
Query parameters
starting_afterstringOptionalExample:
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptionalExample:
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
limitinteger · int32 · min: 10 · max: 1000OptionalDefault:
Number of results to return per page
1000
Example: 100
versionstringRequiredExample:
Requested API version
2021-06-04
Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
List of Slack channels
application/vnd.api+json
400
Bad Request: A parameter provided as a part of the request was invalid.
application/vnd.api+json
401
Unauthorized: the request requires an authentication token.
application/vnd.api+json
403
Forbidden: the request requires an authentication token with more or different permissions.
application/vnd.api+json
404
Not Found: The resource being operated on could not be found.
application/vnd.api+json
409
Conflict: The requested operation conflicts with the current state of the resource in some way.
application/vnd.api+json
500
Internal Server Error: An error was encountered while attempting to process the request.
application/vnd.api+json
get
Requires the Snyk Slack App to be set up for this org. It will return the Slack channel name for the provided Slack channel ID.
Required permissions
Install Apps (org.app.install)
Authorizations
Path parameters
org_idstring · uuidRequired
Org ID
channel_idstring · uriRequired
Slack Channel ID
tenant_idstring · uuidRequired
Tenant ID
Query parameters
versionstringRequiredExample:
Requested API version
2021-06-04
Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
List of Slack channels
application/vnd.api+json
400
Bad Request: A parameter provided as a part of the request was invalid.
application/vnd.api+json
401
Unauthorized: the request requires an authentication token.
application/vnd.api+json
403
Forbidden: the request requires an authentication token with more or different permissions.
application/vnd.api+json
404
Not Found: The resource being operated on could not be found.
application/vnd.api+json
409
Conflict: The requested operation conflicts with the current state of the resource in some way.
application/vnd.api+json
500
Internal Server Error: An error was encountered while attempting to process the request.
application/vnd.api+json
get
Last updated
Was this helpful?