GET
/
api
/
v4
/
users
/
{userId}
/
followInfo
Get other follow information.
curl --request GET \
  --url https://apix.us.amity.co/api/v4/users/{userId}/followInfo \
  --header 'Authorization: Bearer <token>'
{
  "follows": [
    {
      "from": "<string>",
      "fromUserPublicId": "<string>",
      "fromUserInternalId": "<string>",
      "to": "<string>",
      "toUserPublicId": "<string>",
      "toUserInternalId": "<string>",
      "status": "pending",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "followCounts": [
    {
      "userId": "<string>",
      "followerCount": 123,
      "followingCount": 123,
      "pendingCount": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Response

200
application/json

Follow Information

The response is of type object.