Skip to main content
POST
Create Environment Variable

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

application/json
type
string
required
Allowed value: "string"
label
string
required

Unique label for the environment variable.

values
Values · object
required

Environment-specific values. Must include 'production' key.

Response

Successful Response

label
string
required
created_at_unix_secs
integer
required
updated_at_unix_secs
integer
required
type
enum<string>
required
Available options:
string,
secret,
auth_connection
id
string
required
workspace_id
string
required
values
Values · object
required
created_by_user_id
string | null