Add Blacklist Terms

Add terms to the blacklist
curl -X POST -H "Content-Type: application/json" \
-d '{"blacklist_terms": ["cats","snakes","bees"]}' \
-u"[your token]:" "https://ac.cnstrc.com/v1/blacklist_autosuggest_terms?key=[your API key]"
Add sets of terms (multi-term rules) to the blacklist
curl -X POST -H "Content-Type: application/json" \
-d '{"blacklist_terms": [["cats","bite","scratch"],["bees","sting"]]}' \
-u"[your token]:" "https://ac.cnstrc.com/v1/blacklist_autosuggest_terms?key=[your API key]"
info

The above command returns a 204 Success response on success.

For simplicity sake, a 204 Success response will be returned even if some or all items already exist.

HTTP Request#

POST https://ac.cnstrc.com/v1/blacklist_autosuggest_terms?key=[your API key]

JSON Parameters#

ParameterRequired?Description
blacklist_termsYesThe term(s) or set(s) of terms to add to the blacklist.