cURL
curl --request GET \ --url https://localhost:5000/users/{identifier}/followers \ --header 'Authorization: Bearer <token>'
{ "success": true, "followers": [ { "name": "<string>", "username": "<string>", "email": "jsmith@example.com", "_id": "<string>", "image": "<string>", "bio": "<string>", "gender": "<string>", "emailVerified": true, "followers": [ "<string>" ], "following": [ "<string>" ], "bookmarks": [ "<string>" ], "blocked_users": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "isFollowing": true } ] }
Get a list of users who follow the specified user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Username or user ID
List of followers
true
Show child attributes