Skip to main content
GET
/
webhook
/
user.didBlock
User Didblock webhook event
curl --request GET \
  --url https://apix.us.amity.co/webhook/user.didBlock \
  --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"
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Block event information. data contains the follow relationship (from, to, status), users is a list of userInfo, files is a list of file information

event
string
data
object