Overview
Returns a function that fetches the paginated list of accepted connections for any user, identified byuserId. This is a public endpoint — authentication is not required.
For fetching your own connections, see useFetchConnections.
Usage Example
Parameters
The hook returns a function. That function accepts:string
required
The ID of the user whose connections to fetch.
number
Page number to fetch. Defaults to
1.number
Number of results per page. Defaults to
20.string
Resolves each connected user’s reputation into a
spaceReputation number on the embedded connectedUser. Accepts a space <uuid> or "none" (project-general bucket) only — "context" is rejected with a 400 on this endpoint. Empty string, "general", and null are also rejected. See Reputation.boolean
When
true, spaceReputation is the subtree sum (the space plus all its descendants). Only honored when spaceReputationId is an explicit <uuid>.Returns
Returns aPaginatedResponse containing an array of established connections:
EstablishedConnection[]
Array of accepted connection entries.
object
Pagination metadata including
page, pageSize, totalPages, totalItems, and hasMore.Related
- useFetchConnections — fetch the current user’s own connections
- useFetchConnectionsCountByUserId — get count for any user

