Skip to main content
POST
/
tasks
/
optimization
/
name
Optimize Product Name
curl --request POST \
  --url https://ai.getlynks.io/api/tasks/optimization/name \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-OpenAI-Key: <api-key>' \
  --data '
{
  "product_name": "<string>"
}
'
{
  "message": "<string>",
  "old_name": "<string>",
  "best_name": "<string>",
  "other_names": [
    "<string>"
  ]
}

Authorizations

X-Api-Key
string
header
required
X-OpenAI-Key
string
header
required

Query Parameters

task_type
enum<string>
required
Available options:
cleaned,
detailed
translation_language
enum<string>
required
Available options:
en,
de,
fr,
it

Body

application/json
product_name
string
required

The name of the product to optimize.

Response

Successfully optimized the product name.

message
string
required
old_name
string
required
best_name
string
required
other_names
string[]
required