Skip to main content
Get Connections
Returns a paginated list of accepted connections for the specified user. Each entry includes the connected user’s public profile. Authentication is optional — the endpoint works without a token. When the caller is signed in, any user with a block between them and the caller, in either direction, is excluded from the results. Block filtering requires the moderation bundle.

Path Parameters

string
required
The Sublay user ID (UUID) of the user whose connections to retrieve.

Query Parameters

number
Page number for pagination. Defaults to 1.
number
Number of results per page. Defaults to 20, maximum 100.
string
Optional search term. Filters the list to connections whose connected user’s username or name contains this text (case-insensitive). When omitted, no filtering is applied.
string
Restricts which field query matches against — username or name. When omitted, query matches either field.

Space-scoped reputation

This endpoint has no space in context, so the opt-in spaceReputation object accepts a spaceId of a space <uuid> or none only — context is rejected (400). It adds a spaceReputation field to each returned user, alongside the always-present reputation total. Requires the reputation bundle. See the Reputation data model.

Response

On success, returns HTTP 200 with a paginated response:
array
Array of connection entries.
number
Total number of accepted connections.
number
Current page number.
number
Page size used for this response.

See Also