younifyd
Menu

Retrieve synonym group

Retrieve synonym group

GET/v1/synonym_groups/{group_id}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve synonym group action (under Synonym Groups).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveSynonymGroup.response.data}}.

Request

Path parameters

group_idinteger (int32)required

Query parameters

sectionstring

The section of the index to use. Defaults to `Products`.

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 {{retrieveSynonymGroup.response.data.<field>}}.

total_countinteger
synonym_groupsarray<object>
synonymsarray<string>required
synonym_group_idintegerrequired

The ID of the synonym group, must be unique.

created_atstring (date-time)required

Synonym group creation date in ISO 8601 format

updated_atstring (date-time)required

Last synonym group update date in ISO 8601 format.

json
{
  "total_count": 0,
  "synonym_groups": [
    {
      "synonyms": [
        "string"
      ],
      "synonym_group_id": 0,
      "created_at": "2025-01-01T00:00:00Z",
      "updated_at": "2025-01-01T00:00:00Z"
    }
  ]
}

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