Skip to main content
GET
/
variables
Fetch variables
curl --request GET \
  --url https://api.dittowords.com/v1/variables \
  --header 'Authorization: <api-key>'
{
  "user_name": {
    "example": "Jessica",
    "fallback": "Ditto user"
  },
  "user_age": {
    "example": 24,
    "fallback": 0
  },
  "help_link": {
    "text": "Get help",
    "url": "https://help.com"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.dittowords.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Response

200 - application/json

A JSON body containing variable information from your workspace, keyed by variable name.

{key}