curl --request GET \
--url https://apix.us.amity.co/webhook/follow.didCancelRequest \
--header 'Authorization: Bearer <token>'
{
"event": "<string>",
"data": {
"from": "<string>",
"to": "<string>",
"status": "none",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
This is called when a user cancels a request to follow another user.
curl --request GET \
--url https://apix.us.amity.co/webhook/follow.didCancelRequest \
--header 'Authorization: Bearer <token>'
{
"event": "<string>",
"data": {
"from": "<string>",
"to": "<string>",
"status": "none",
"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 Object
The response is of type object
.