/synonyms

Add or update synonym definitions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Add or update synonym definitions using key, private_key, and a synonyms array of objects in the JSON body. Each object requires query. The optional synonyms and directed_synonyms fields are arrays of strings. Synonyms work in both directions; directed synonyms work from the source query to the listed terms.

A response with status ok acknowledges the request. Use GET to verify the stored result.

Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.

Body Params
string
required

Your Store's public API key.

string
required

Your Store's private API key. Keep it on your server.

synonyms
array
required

A JSON array of synonym objects. See the complete example and field requirements above.

synonyms*
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json