v1

latestOpenAPI 3.1.02026-07-241765501.1 MB
Synonyms

Create one-way synonym

🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: synonyms(w).

Create one-way synonym with specified parent_phrase.

post/v2/one_way_synonyms/{parent_phrase}

Path parameters

parent_phrasestring required
Example:shoes

Query parameters

keystring required

The key of the index to use.

Example:key_K2pX7vBnU0bgA5xp
cstring

The ID of the client and version that the request is coming from, such as cio-js-2.90.

Example:cio-js-2.90

Request body

Example request

{
  "child_phrases": [
    {
      "phrase": "sneakers"
    }
  ]
}

Response

No Content