List a group's connections
List a group's own connected accounts and accounts that need reauthorization.
GET
/api/v1/groups/:groupId/connectionsconst response = await fetch("https://api.smallworld.sh/api/v1/groups/team_42/connections", {
method: "GET",
headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
Use your server-side apiKey. Replace the example IDs.
Path parameters#
groupIdstringrequiredYour application's group ID, URL-encoded. At most 512 characters, with no surrounding whitespace or null bytes.
Responses#
The group's own account, which members without a connection of their own use. Secret credential values are never returned.
{
"items": [
{
"integration": "github",
"userId": null,
"groupId": "team_42",
"source": "group",
"overridesGroup": false,
"authScheme": "api_key",
"status": "connected",
"accountId": "654321",
"accountName": "support-bot",
"workspaceId": null,
"connectedAt": "2026-10-10T12:00:01.000Z",
"updatedAt": "2026-10-10T12:00:01.000Z",
"error": null
}
]
}
More about this endpoint
Only the group's own connections are listed, not its members'. Disconnected accounts and built-in integrations are omitted.
Members without a connection of their own use these accounts in their sessions for this group. GET /users/:userId/connections shows which account a member's calls use.