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

The response is of type object[].