Skip to main content
GET
/
:projectId
/
api
/
v7
/
users
/
:userId
/
connections
Get Connections
curl --request GET \
  --url https://api.sublay.io/api/v6/:projectId/api/v7/users/:userId/connections
{
  "data": [
    {
      "id": "<string>",
      "connectedUser": {},
      "connectedAt": "<string>"
    }
  ],
  "totalCount": 123,
  "page": 123,
  "limit": 123
}
Returns a paginated list of accepted connections for the specified user. Each entry includes the connected user’s public profile. This endpoint is public — no authentication required.

Path Parameters

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

Query Parameters

page
number
Page number for pagination. Defaults to 1.
limit
number
Number of results per page. Defaults to 20, maximum 100.

Space-scoped reputation

This endpoint has no space in context, so spaceReputationId accepts 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.
spaceReputationId
string
Adds spaceReputation to each returned user. Either a space <uuid> (that space’s bucket) or none (the project-general bucket). context, the empty string, and the legacy general / null aliases are rejected (400). Missing buckets read as 0.
spaceReputationDescendants
boolean
Only honored with an explicit space <uuid>. When true, spaceReputation is the subtree sum — the space plus all of its descendants. Ignored for none.

Response

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

See Also