curl --request POST \
--url https://api.mentionlab.io/api/entities/{id}/aliases \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"alias": "Samsung Electronics"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alias": "<string>",
"source": "llm",
"originEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Adds a new alias to the entity. The alias text is automatically slugified. Duplicate aliases (same slug for the same entity) are silently ignored.
curl --request POST \
--url https://api.mentionlab.io/api/entities/{id}/aliases \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"alias": "Samsung Electronics"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alias": "<string>",
"source": "llm",
"originEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Project ID to specify the project context
Entity ID
Alias text
"Samsung Electronics"