Create Global Variable
Authorizations
Nected-API-KeystringRequired
Your Nected API key. Obtain from workspace settings.
Header parameters
Nected-BranchstringOptional
Branch name (optional)
Body
Request body for creating a global variable. name, dataType, and value are required. isSecret and canReset default to false.
namestringRequiredExample:
Unique variable name (alphanumeric and underscores recommended)
tax_rate_gstdataTypestring · enumRequiredExample:
Data type of the value
numericPossible values: valueanyRequiredExample:
Variable value — type must match dataType
18isSecretbooleanOptionalDefault:
Mask value in all responses (default false)
falsecanResetbooleanOptionalDefault:
Allow resetting to original value via UI (default false)
falseResponses
200
OK — variable created, includes checksum for update/delete
application/json
Standard response wrapper for single-variable operations (create, get-by-name, update)
codestringOptionalExample:
successmessagestringOptionalExample:
Success.400
Bad Request — validation error or duplicate name
application/json
500
Internal Server Error
application/json
post
/dev/variableExample request body (full JSON)
Response (200)
200)Last updated