curl --request GET \
--url https://apix.us.amity.co/api/v2/blacklist/records \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>'
{
"status": "<string>",
"data": {
"results": [
{
"ruleId": "<string>",
"regex": "<string>",
"isMatchExactWord": true,
"isEnabled": true,
"isDeleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}
Get rules of blacklist.
curl --request GET \
--url https://apix.us.amity.co/api/v2/blacklist/records \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>'
{
"status": "<string>",
"data": {
"results": [
{
"ruleId": "<string>",
"regex": "<string>",
"isMatchExactWord": true,
"isEnabled": true,
"isDeleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}
rules of blacklist Information
The response is of type object
.