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 connections = await client.connections.list();
console.log(connections.connections);{
"connections": [
{
"id": "<string>",
"integration_id": "<string>",
"provider": "collections",
"label": "<string>"
}
]
}List all connections for the user.
import Hyperspell from '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>",
"provider": "collections",
"label": "<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.
Successful Response
Show child attributes
Was this page helpful?