Add Synonym Group

This creates a new synonym group. Any phrases provided in the JSON are added to the group.

curl -X POST -H "Content-Type: application/json" \
-d '{"synonyms": ["0% milk", "skim milk"]}' \
-u"[your token]:" "https://ac.cnstrc.com/v1/synonym_groups?key=[your API key]"
info

The above command returns a 200 Success response on success.

HTTP Request#

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

response example
{
"group_id": 4
}

JSON Parameters#

ParameterRequired?Description
synonymsYesAllows you to add synonyms to the newly created group.