cURL
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" } }
Returns the variables in the workspace of the requesting user.
A JSON body containing variable information from your workspace, keyed by variable name.
The response is of type object.
object