younifyd
Menu

Retrieve one-way synonyms

Retrieve one-way synonyms

GET/v2/one_way_synonyms

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve one-way synonyms action (under One-way Synonyms).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveOneWaySynonyms.response.data}}.

Request

Query parameters

parent_phrasearray<string>

A list of parent phrases to filter by

phrasestring
num_results_per_pageinteger

The number of results per page to return.

Default 20

pageinteger

The page of results to return.

offsetinteger

The number of results to skip from the beginning. Cannot be used together with `page`.

sort_byany

Fields that you can sort the results by

sort_orderany

In which order results are returned

cstring

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

Response

Returns 200 with an object. Read it in later steps with {{retrieveOneWaySynonyms.response.data.<field>}}.

one_way_synonym_relationsarray<object>

A list of one way synonyms

parent_phrasestringrequired
child_phrasesarray<object>required5 fields
total_countinteger

Total count of one way synonyms returned

json
{
  "one_way_synonym_relations": [
    {
      "parent_phrase": "string",
      "child_phrases": [
        {
          "phrase": "string",
          "automatically_generated": false,
          "created_at": "2025-01-01T00:00:00Z",
          "updated_at": "2025-01-01T00:00:00Z",
          "activated_at": "2025-01-01T00:00:00Z"
        }
      ]
    }
  ],
  "total_count": 0
}

Need more? See the Constructor guide for connection setup and behaviour shared by every action.