product:chat

Reports message or user for review by moderators

Sends events:

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

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/moderation/flag
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

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

Changes

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status