功能说明
添加的敏感词将用于单群聊文本消息的内容审核
请求说明
请求鉴权:接口需要增加验证 Header,请查看 鉴权说明
请求类型:
POST
请求限频:
100次/秒
请求地址:https://请求域名/apigateway/sensitivewords/add
Content-Type:
application/json
请求示例
POST /apigateway/sensitivewords/add HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json
{
"items":[
{
"word":"xxxxx",
"word_type":1
}
]
}
请求参数
参数 | 数据类型 | 是否必填 | 参数说明 | |
---|---|---|---|---|
word | string | 是 | 敏感词 | |
word_type | int | 是 | 敏感词过滤类型。1:拦截敏感词;2:替换敏感词; |
响应参数
参数 | 数据类型 | 参数说明 |
---|
响应示例
{
"code":0,
"msg":"sucess"
}