Skip to main content
POST
Create a variable

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json

Body

Request body for creating a variable or write-only secret

key
string
required

Variable key (must be unique within scope)

Minimum string length: 1
value
string
required

Variable value

dataType
enum<string>
Available options:
STRING,
OBJECT,
ARRAY,
NUMBER

Response

200

Response containing a single variable

variable
Variable · object
required

A variable. Secret responses contain metadata only and never expose the value.

error
string | null
required