GET
/
webhook
/
message.didClearflag
Message Didclearflag webhook event
curl --request GET \
  --url https://apix.us.amity.co/webhook/message.didClearflag
{
  "event": "message.didClearflag",
  "data": {
    "messages": [
      {
        "_id": "<string>",
        "path": "<string>",
        "messageId": "<string>",
        "parentId": "<string>",
        "childrenNumber": 123,
        "channelId": "<string>",
        "userId": "<string>",
        "type": "<string>",
        "tags": [
          "<string>"
        ],
        "data": {},
        "isDeleted": true,
        "channelSegment": 123,
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "editedAt": "2023-11-07T05:31:56Z",
        "flagCount": 123,
        "hashFlag": {
          "bits": 123,
          "hashes": 123,
          "hash": [
            "<string>"
          ]
        },
        "reactions": {},
        "reactionsCount": 123,
        "myReactions": [
          "<string>"
        ],
        "latestReaction": {
          "referenceId": "<string>",
          "referenceType": "<string>",
          "reactionName": "<string>",
          "userId": "<string>",
          "userDisplayName": "<string>",
          "reactionId": "<string>",
          "eventName": "<string>",
          "createdAt": "2023-11-07T05:31:56Z"
        },
        "mentionees": [
          {
            "type": "user",
            "userIds": [
              "<string>"
            ],
            "userPublicIds": [
              "<string>"
            ],
            "userInternalIds": [
              "<string>"
            ]
          }
        ]
      }
    ],
    "users": [
      {
        "_id": "<string>",
        "path": "<string>",
        "userId": "<string>",
        "roles": [
          "<string>"
        ],
        "displayName": "<string>",
        "flagCount": 123,
        "hashFlag": {
          "bits": 123,
          "hashes": 123,
          "hash": [
            "<string>"
          ]
        },
        "metadata": {},
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "isDeleted": true
      }
    ]
  }
}

Response

200 - application/json

messages is messages information. users is list of all user relate to this messages

The response is of type object.