Skip to main content
GET
/
:projectId
/
users
/
:userId
/
follow
Fetch Follow Status
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/users/:userId/follow
{
  "isFollowing": true,
  "followId": {},
  "followedAt": {}
}
Check if the current user follows the specified user and get follow relationship details.

Path Parameters

userId
string
required
ID of the user to check follow status with

Response

isFollowing
boolean
Whether the current user follows the specified user
followId
string | null
ID of the follow relationship if it exists, null otherwise
followedAt
string | null
Timestamp when the follow relationship was created, null if not following

Error Responses

{
  "error": "Invalid userId",
  "code": "follow/invalid-user-id"
}
{
  "error": "Authentication required",
  "code": "auth/unauthorized"
}
{
  "error": "Internal server error",
  "code": "follow/server-error"
}
I