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"
}
]
}
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"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Follow Response Object
The response is of type object
.