Skip to main content
GET
/
textItems
/
export
Export text items
curl --request GET \
  --url https://api.dittowords.com/v2/textItems/export \
  --header 'Authorization: <api-key>'
{
  "user-account-header": "{{FullName}}'s Account",
  "user-account-settings-label": "Account Settings",
  "user-account-settings-payment-header": "Payment Details",
  "welcome-header": "Welcome to Acme Inc., {{FirstName}}",
  "no-notifications-label": "No new notifications"
}

Authorizations

Authorization
string
header
required

Query Parameters

filter
string

Stringified JSON filter object. Supports the following filter fields:

  • projects: array of objects with id (project developer ID)
  • statuses: array of status strings (NONE, WIP, REVIEW, FINAL)
  • tags: object with values (array of tag strings) and optional operator (AND or OR, defaults to OR)
  • assignee: email string to match assigned text items, or null for unassigned
  • integrated: boolean value to filter by items that are or are not integrated into development

Example: {"projects":[{"id":"project-id"}], "statuses":["NONE","WIP","FINAL","REVIEW"], "tags":{"values":["tag-1"],"operator":"OR"}, "assignee":"user@example.com", "integrated":true}

richText
enum<string>

When set to 'html', includes HTML-formatted rich text in the response

Available options:
html
variantId
string
By default, base text will be returned. Provide a variant parameter to specify which variant of the filtered base text items to return.
format
enum<string>
required

Output format for exported text items.

Available options:
json_icu,
json_i18next,
json_vue_i18n,
ios-strings,
ios-stringsdict,
android

Response

Returns text item developer id - text item value key/value pairs in the desired format.

For json_icu, json_i18next, json_vue_i18n formats. Object keys are developer-ids (strings) and values are text (strings).

{key}
string

The text value for the developer-id key