List moderated messages
Retrieves a list of messages that are moderated by the profanity filter.
HTTP request
Note: If you are using the in-app channel in Delight AI agent, the endpoint for your API request should start with
https://api-{application_id}.svc.delight.ai/v3instead ofhttps://api-{application_id}.sendbird.com/v3. For more details, refer to our Delight AI agent guide.
Parameters
The following table lists the parameters that this action supports.
Parameters
| Required | Type | Description |
|---|---|---|
channel_type | string | Specifies the type of a channel. Acceptable values are |
channel_url | string | Specifies the URL of a channel. |
message_ts | long | Specifies the timestamp to be the reference point of the query in Unix milliseconds. |
prev_limit | int | Specifies the number of moderated messages to retrieve before the time specified in |
next_limit | int | Specifies the number of moderated messages to retrieve after the time specified in |
| Optional | Type | Description |
|---|---|---|
user_id | string | The unique ID of a user. |
Response
If successful, this action returns a list of moderated messages that contain the original and replaced texts in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.