POST
/
synthesis
/
phrase-replacement-config
/
{configId}
Update phrase replacement config
{
  "phraseReplacements": [
    {
      "phrase": "سیونگز اکاؤنٹ",
      "replacement": "savings account"
    },
    {
      "phrase": "Isabion",
      "replacement": "ایزابیان"
    },
    {
      "phrase": "Meezan bank",
      "replacement": "میزان بینک"
    }
  ]
}
{
  "configId": "<string>",
  "phraseReplacements": [
    {
      "phrase": "<string>",
      "replacement": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key with format "Bearer sk_api_..."

Path Parameters

configId
string
required

ID of the configuration to update

Body

application/json

Request to create or update phrase replacement configuration

Response

200
application/json

Successful update of configuration

Response containing phrase replacement configuration