POST
/
api
/
v4
/
me
/
followers
/
{userId}
Accept follow request.
curl --request POST \
  --url https://apix.us.amity.co/api/v4/me/followers/{userId} \
  --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"
    }
  ]
}

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 Response Object

The response is of type object.