/v2/projects/{projectId}/keys/createCreate a localization key
Creates a localization key in a project and can include translations, tags, screenshots, and translation states. Supply name and isPlural; use translations and relatedKeysInOrder to provide translation values and contextual keys. The response contains the created key and its generated identifier.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The localization key details, with name and isPlural required.
A 400 is returned for a malformed request, a 401 when the request is unauthenticated, a 403 when access is forbidden, and a 404 when the project or requested resource is not found. The projectId path parameter must identify the project. name and isPlural are required, name must contain at least one character, and relatedKeysInOrder entries must include a non-empty keyName; states values must be TRANSLATED or REVIEWED.