Create a key
Create a new key.
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Path Parameters
Project ID
Body
Key name
"home.index.headline"
specify the branch to use
"my-feature-branch"
Key description (usually includes contextual information for translators)
"Some description worth knowing..."
Indicates whether key supports pluralization
null
Indicates whether key uses ordinal rules for pluralization
null
Plural name for the key (used in some file formats, e.g. Gettext)
"home.index.headlines"
Type of the key. Can be one of the following: string, number, boolean, array, markdown.
"number"
List of tags separated by comma to be associated with the key.
"awesome-feature,needs-proofreading"
Max. number of characters translations for this key can have.
140
Screenshot/image for the key. This parameter is deprecated. Please use the Screenshots endpoint instead.
Indicates whether the screenshot will be deleted. This parameter is deprecated. Please use the Screenshots endpoint instead.
null
Indicates whether the key should be exported as "unformatted". Supported by Android XML and other formats.
null
Creates a translation in the default locale with the specified content
"Default translation content"
Indicates whether the key should be autotranslated to other locales based on the copy provided in default_translation_content.
null
Indicates whether the key should be exported with "xml:space=preserve". Supported by several XML-based formats.
null
Original file attribute. Used in some formats, e.g. XLIFF.
null
NSStringLocalizedFormatKey attribute. Used in .stringsdict format.
null
NSStringLocalizedFormatKey attribute. Used in .stringsdict format.
null
Custom metadata property name and value pairs to be associated with key.
{ "fruit": "Apple", "vegetable": "Tomato" }Locales for which translations of this key are excluded from exports. Pass an empty array to clear exclusions.
["de", "fr"]Override of the value type for the key in the export. Most useful for formats like Android XML that distinguish string vs. plural resources.
"string"
Response
Created
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}