Actions60
- User Actions
- Channel Actions
- Accept Invite
- Add Members
- Add Moderators
- Archive
- Ban User
- Create
- Delete
- Delete File
- Delete Image
- Demote Moderators
- Disable Slow Mode
- Enable Slow Mode
- Get Config
- Hide
- Invite Members
- Mark Read
- Mark Unread
- Mute
- Mute Status
- Pin
- Query Channels
- Query Members
- Reject Invite
- Remove Members
- Send Action
- Send File
- Send Image
- Show
- Stop Watching
- Truncate
- Unarchive
- Unban User
- Unmute
- Unpin
- Update
- Watch
- Message Actions
- Moderation Actions
Moderation → Flag Message
AI-generatedSummary
Flag a specific message in Stream Chat for moderation review, optionally providing a reason for the flag.
Inputs
- Message ID (required) — ID of the message to be flagged for moderation.
- Reason — Optional reason explaining why the message is being flagged.
Output shape
A single JSON object representing the response from the Stream Chat API after attempting to flag the message.
The operation returns the raw API response for the flagging action. If execution fails, an error with details is returned unless 'Continue On Fail' is enabled.
Examples
Example 1: Flag a message with a reason
Set 'Message ID' to the target message identifier and provide a 'Reason' describing why the message is flagged.