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]:" "[your API key]"

The above command returns a 200 Success response on success.

HTTP Request#

POST[your API key]

response example
"group_id": 4

JSON Parameters#

synonymsYesAllows you to add synonyms to the newly created group.