List Slack channels for Deliver picker
GET
/v1/artifacts/{id}/deliver/slack-channels
const url = 'https://shareout.site/v1/artifacts/example/deliver/slack-channels';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://shareout.site/v1/artifacts/example/deliver/slack-channels \ --header 'Authorization: Bearer <token>'Searchable channel list for the workspace Slack connection — used by Home Inspector Deliver instead of pasting channel IDs.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Artifact ID (e.g. art_abc123).
Responses
Section titled “ Responses ”Channels
Media type application/json
object
channels
Array<object>
object
id
string
name
string
error
string
Example generated
{ "channels": [ { "id": "example", "name": "example" } ], "error": "example"}Access denied
Media type application/json
object
success
required
boolean
error
required
Human-readable message.
string
code
required
Machine-readable error code.
string
Example
{ "success": false}