GET
/
integrations
/
slack
/
list
JavaScript
import Hyperspell from 'hyperspell';

const client = new Hyperspell({
  apiKey: 'My API Key',
});

const slacks = await client.integrations.slack.list();

console.log(slacks);
"<any>"

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Query Parameters

channels
string[]

List of Slack channels to include (by id, name, or #name).

include_private
boolean
default:false

Include private channels when constructing Slack 'types'.

include_dms
boolean
default:false

Include direct messages (im) when listing conversations.

include_group_dms
boolean
default:false

Include group DMs (mpim) when listing conversations.

exclude_archived
boolean | null

If set, pass 'exclude_archived' to Slack. If None, omit the param.

Response

Successful Response

The response is of type any.