Try our new Claude Code Skill to automatically integrate Hyperspell into your project
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const slacks = await client.integrations.slack.list();
console.log(slacks);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}List Slack conversations accessible to the user via the live Nango connection.
Returns minimal channel metadata suitable for selection UIs. If required scopes are missing, Slack’s error is propagated with details.
Supports filtering by channels, including/excluding private channels, DMs, group DMs, and archived channels based on the provided search options.
import Hyperspell from 'hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const slacks = await client.integrations.slack.list();
console.log(slacks);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}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.
List of Slack channels to include (by id, name, or #name).
Include private channels when constructing Slack 'types'.
Include direct messages (im) when listing conversations.
Include group DMs (mpim) when listing conversations.
If set, pass 'exclude_archived' to Slack. If None, omit the param.
Successful Response
Was this page helpful?