Skip to main content
GET
/
:projectId
/
users
/
:userId
/
following
Fetch Following
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/users/:userId/following
Get list of accounts a specific user follows. This is a public endpoint that does not require authentication.

Request

Path Parameters

ParameterTypeRequiredDescription
userIdstringYesID of the user to get following list for

Query Parameters

ParameterTypeRequiredDescription
pagenumberNoPage number (default: 1)
limitnumberNoItems per page (default: 20, max: 100)

Headers

None

Body Parameters

None

Example Request

GET /users/user-uuid-123/following?page=1&limit=20

Response

Success Response (200 OK)

{
  "following": [
    {
      "followId": "follow-uuid",
      "user": {
        "id": "user-uuid",
        "name": "John Doe",
        "username": "johndoe",
        "avatar": "https://example.com/avatar.jpg",
        "bio": "Software Engineer",
        "reputation": 150
      },
      "followedAt": "2024-01-01T12:00:00.000Z"
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 8,
    "totalCount": 156,
    "hasNextPage": true,
    "hasPreviousPage": false,
    "limit": 20
  }
}

Error Responses

Server Error (500 Internal Server Error)

{
  "error": "Internal server error",
  "code": "follow/server-error"
}

Notes

  • This endpoint does not require authentication
  • Returns paginated list of users that the specified user follows
  • Each following entry includes user details and when they were followed
  • Public endpoint accessible to all users
  • Default pagination: 20 items per page, maximum 100 items per page
  • Rate limiting: 100 requests per 5 minutes
I