GET
/
variants
Fetch variants
curl --request GET \
  --url https://api.dittowords.com/v2/variants \
  --header 'Authorization: <api-key>'
[
  {
    "id": "all-1",
    "name": "all",
    "description": ""
  },
  {
    "id": "french",
    "name": "French",
    "description": "French translations"
  },
  {
    "id": "spanish",
    "name": "Spanish",
    "description": ""
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

Returns an array of variants in the workspace

id
string
required

The Developer ID of the variant. Keywords 'all' and 'base' are reserved

name
string
required

The name of the variant

description
string
required

The description provided for the variant. Empty string if no description exists