Endpoint
Headers
User authentication token received from login
Query parameters
Username of the target user to check follow status for
Response
true if the authenticated user follows the target user, false otherwiseError message if the request failed
Status codes
- 200: Successfully checked follow status
- 400: Missing fields (username or token)
- 401: Unauthorized (invalid token)
Example request
Example responses
Notes
- This endpoint does not verify if the target user exists
- Returns
falseif the target user doesn’t exist or isn’t followed - Useful for UI state management (showing follow/unfollow buttons)