---
updatedAt: 2026-05-28T22:55:55.000Z
agentTools:
  projectIndex: https://docs.constructor.com/llms.txt
---

# Create one-way synonym

**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**
For authenticating with Bearer token, required scopes are: `synonyms(w)`.

Create one-way synonym with specified `parent_phrase`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "contact": {
      "email": "support@constructor.io"
    },
    "title": "Configuration",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://ac.cnstrc.com"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Synonyms"
    }
  ],
  "paths": {
    "/v2/one_way_synonyms/{parent_phrase}": {
      "post": {
        "tags": [
          "Synonyms"
        ],
        "operationId": "v2-one-way-synonyms-create-one-way-synonym",
        "summary": "Create one-way synonym",
        "description": "**🔐 This endpoint requires [HTTP authentication](https://docs.constructor.com/reference/main-authentication) (either [Basic](https://docs.constructor.com/reference/main-authentication#basic-authentication) or [Bearer](https://docs.constructor.com/reference/main-authentication#bearer-authentication)).**\nFor authenticating with Bearer token, required scopes are: `synonyms(w)`.\n\nCreate one-way synonym with specified `parent_phrase`.",
        "parameters": [
          {
            "name": "parent_phrase",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "examples": [
                "shoes"
              ]
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "title": "Key",
              "description": "The key of the index to use.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "key_K2pX7vBnU0bgA5xp"
              ],
              "type": "string"
            },
            "required": true
          },
          {
            "name": "c",
            "in": "query",
            "schema": {
              "title": "C",
              "description": "The ID of the client and version that the request is coming from, such as `cio-js-2.90`.",
              "maxLength": 100,
              "minLength": 1,
              "examples": [
                "cio-js-2.90",
                "cio-ios-1.0"
              ],
              "type": "string"
            },
            "required": false
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OneWaySynonymV2PostRequestBody"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Validation Error"
          },
          "401": {
            "description": "Credentials are not passed or action is forbidden."
          },
          "403": {
            "description": "The supplied token does not have the required permissions."
          },
          "409": {
            "description": "Conflict"
          },
          "429": {
            "description": "Rate limit breached"
          }
        },
        "security": [
          {
            "http_basic_auth": []
          },
          {
            "http_bearer_auth": [
              "synonyms(w)"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Phrase": {
        "title": "Phrase",
        "type": "object",
        "properties": {
          "phrase": {
            "title": "Phrase",
            "examples": [
              "sneakers",
              "running shoes"
            ],
            "minLength": 1,
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "phrase"
        ],
        "additionalProperties": false
      },
      "OneWaySynonymV2PostRequestBody": {
        "title": "OneWaySynonymV2PostRequestBody",
        "type": "object",
        "properties": {
          "child_phrases": {
            "title": "Child Phrases",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Phrase"
            }
          }
        },
        "required": [
          "child_phrases"
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "http_basic_auth": {
        "type": "http",
        "scheme": "basic"
      },
      "http_bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```