JavaScript
Connections
List connections
List all connections for the user.
GET
JavaScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Try our new Setup Skill to automatically integrate Hyperspell into your project
import Hyperspell from '@hyperspell/hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const connections = await client.connections.list();
console.log(connections.connections);{
"connections": [
{
"id": "<string>",
"integration_id": "<string>",
"label": "<string>",
"selected_count": 0
}
]
}List all connections for the user.
import Hyperspell from '@hyperspell/hyperspell';
const client = new Hyperspell({
apiKey: process.env['HYPERSPELL_API_KEY'], // This is the default and can be omitted
});
const connections = await client.connections.list();
console.log(connections.connections);{
"connections": [
{
"id": "<string>",
"integration_id": "<string>",
"label": "<string>",
"selected_count": 0
}
]
}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.
Successful Response
Show child attributes
Was this page helpful?