Skip to main content

GET /api/users/[id]/followers

Returns a paginated list of users who follow the specified user.

Query Parameters

ParameterDefaultDescription
page1Page number
limit20Items per page

Response (200)

{
  "followers": [
    {
      "id": "uuid",
      "username": "janedoe",
      "firstName": "Jane",
      "surname": "Doe",
      "avatarUrl": "https://...",
      "isFollowing": true
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "totalPages": 8
  }
}