Skip to navigation

Get a Variable

Returns a single accessible Variable by id. An id that is unknown, malformed, or refers to a Variable that List Variables does not include returns 404.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
The id of the Variable to retrieve

Response

The Variable
idstring
A unique identifier for the Variable
namestring
The name of the Variable
versionintegerOptional1-2
Beta. 1 for a Variable whose settings come from its Variable type, 2 for a Variable with its own saved settings.
settingsobjectOptional
Beta. The settings of a Variable, as the dashboard's Variable editor shows them.

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error