v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Flag

Reports message or user for review by moderators

Sends events:

  • message.flagged
  • user.flagged
post/moderation/flag

Request body

customobject
reasonstring
target_message_idstring

ID of the message when reporting a message

target_user_idstring

ID of the user when reporting a user

user_idstring

Response

Successful response

durationstring required
review_queue_item_idstring required

ID of review queue item if moderation v2 is enabled