GET
/v2/projects/{projectId}/keys/{id}Get a localization key
Retrieves a localization key from a project by its ID. Use this operation to inspect the key's name and configuration, including its branch, namespace, description, and translation character limit.
idintegerrequired
The integer ID of the key to retrieve.
projectIdintegerrequired
The integer ID of the project containing the key.
200Returns the key object, including its ID and name, and available branch, custom values, description, maximum character limit, and namespace.
branchstringoptional
Branch of key
customobjectoptional
Custom values of the key
descriptionstringoptional
Description of key
idintegerrequired
Id of key record
maxCharLimitintegeroptional
Maximum character limit for translations of this key
namestringrequired
Name of key
namespacestringoptional
Namespace of key
400Returned when a path parameter is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to access the key.
codestringrequired
paramsarray<object>optional
404Returned when the project or key does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when a path value is invalid. A 401 is returned when the request is unauthenticated, a 403 when the authenticated user lacks access, and a 404 when the project or key cannot be found. The id and projectId path parameters must identify the key and its project.