Skip to main content
GET
Get Following
Returns a paginated list of users that the specified user follows. This endpoint is public — no authentication required.

Path Parameters

userId
string
required
The Sublay user ID (UUID) of the user whose following list 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.
query
string
Optional search term. Filters the list to users whose username or name contains this text (case-insensitive). When omitted, no filtering is applied.
searchFields
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:
data
array
Array of follow entries.
totalCount
number
Total number of users being followed.
page
number
Current page number.
limit
number
Page size used for this response.

See Also