Skip to main content

Add Key

Adds key to project.

Request type: POST

API Endpoint

https://api.translized.com/term/add

Parameters

ParamTypeRequiredDescription
projectIdStringTrueId of your project
termKeyStringTrueKey of key to add
contextStringFalseContext of key

Example requests

curl -X POST -H "Content-Type: application/json" \
-H "api-token: 42cf5fec-a74c-4a53-8ebc-86a4e52b7ce6" \
-d "{"projectId":"A3KJtLw4mt", "termKey":"Api.test"}" \
https://api.translized.com/term/add
info
  • projectId can be found inside your project's settings. (Translized App > Your Project > Settings )

Example response

{
"result": {
"objectId": "oNN342JCu0",
"projectId": "A3KJtLw4mt",
"key": "Api.test",
"value": [],
"createdAt": "2021-09-08T14:02:44.495Z"
}
}