Text Items
Create text items
Creates a set of text items in a project.
Supports plural forms, variant text, variable placeholders, notes, character limits, tags, status, assignee, and placing the item inside a block.
post/textItems
Request
- Base URL: https://api.dittowords.com/v2
- URL: https://api.dittowords.com/v2/textItems
- Auth: API key in header Authorization
Request body
Example request
{
"projectId": "project-id",
"textItems": [
{
"text": "Hello world"
},
{
"developerId": "custom-dev-id",
"text": "Custom ID example",
"notes": "Shown on the welcome screen",
"characterLimit": 80
},
{
"text": "{{count}} items in your cart",
"variables": [
"count"
],
"plurals": [
{
"form": "one",
"text": "{{count}} item in your cart"
},
{
"form": "other",
"text": "{{count}} items in your cart"
}
]
},
{
"text": "Hello world",
"developerId": "localized-greeting",
"variants": [
{
"variantId": "french",
"text": "Bonjour le monde"
}
]
},
{
"text": "Welcome to the homepage",
"blockId": "header"
}
]
}Response
Returns the developer IDs of the created text items
Example response
{
"developerIds": [
"hello-world",
"custom-dev-id"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.