v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Create comment quality rules

post/applications/{client_id}/comment-quality-rules

Path parameters

client_idstring required

Headers

Authorizationstring required

Request body

min_char_countnumber

Minimum number of non-whitespace characters in a comment for it to be evaluated as a quality comment. Default value is 0 which means this check is ignored.

emoji_ratio_thresholdnumber float

Max ratio of emojis to text content in a comment for it to be evaluated as a quality comment. Default value is 0.7 which means at max 70% of the comment can be filled with emojis.

disallowed_charsstring

Characters in a comment that can lead to it being discarded from quality comment evaluation. Example: "F*ck". Default value is ""

min_sentiment_scorenumber float

Minimum sentiment score for a comment to be evaluated as a high quality comment. This can range from -1 to 1 with -1 being the most negative and 1 being the most positive. The default value for this is 0.2. Can be set to None to disable this check.

max_toxicity_scorenumber float

Maximum toxicity score for a comment to be evaluated as a high quality comment. This can range from 0 to 1 with 0 being the least toxic and 1 being the most toxic. Default value for this is 0.1. Can be set to None to disable this check.

exclude_gifboolean

If enabled, comments that contain GIF content will be excluded from quality comments evaluation.

Response

Created

idstring
urlstring
client_idstring
min_char_countinteger
disallowed_charsstring
emoji_ratio_thresholdnumber
min_sentiment_scorenumber
max_toxicity_scorenumber
exclude_gifboolean
updated_atstring
created_atstring

Example response

{
  "id": "79fea58e-a037-4771-9dae-83e57ebf6b69",
  "url": "https://cf-blast.livelikecdn.com/api/v1/applications/adMpPiA5AxfBJOi4pueTIF2If3a4WLIjfqiifG15/comment-quality-rules/79fea58e-a037-4771-9dae-83e57ebf6b69/",
  "client_id": "adMpPiA5AxfBJOi4pueTIF2If3a4WLIjfqiifG15",
  "disallowed_chars": "*",
  "emoji_ratio_threshold": 0.7,
  "min_sentiment_score": 0.2,
  "max_toxicity_score": 0.1,
  "exclude_gif": true,
  "updated_at": "2026-07-21T07:31:21.399184Z",
  "created_at": "2026-07-21T07:31:21.399195Z"
}