GET/v2/projects/{projectId}/all-keys

List all localization keys in a project

Lists all localization keys in a project. Optionally supply branch to list keys from a specific branch; omit it to use the default branch.

2 parameters
projectIdintegerrequired
The integer identifier of the project whose localization keys to list.
branchstringoptional
The branch to list keys from. Defaults to the project's default branch when omitted.

5 status codes
200Returns an embedded collection of localization keys for the project.
_embeddedobjectoptional
400Returned when a parameter value is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when you do not have permission to access the project's keys.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project is not found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when a parameter value is invalid; a 401 when authentication is missing or invalid; a 403 when you lack access; and a 404 when the project is not found. The projectId path parameter must identify the project whose keys you want to list.