Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-key
string

A header for idempotency purposes

Body

application/json
key
string
required

Unique key for the variable. Must start with a letter and contain only letters, digits, and underscores.

Maximum string length: 256
Pattern: /^[A-Za-z][A-Za-z0-9_]*$/
type
enum<string>

The type of the variable

Available options:
string
isSecret
boolean

Whether this variable is a secret (encrypted at rest, masked in responses)

values
object[]

Response

OK

_id
string
required
_organizationId
string
required
key
string
required
type
enum<string>
required
Available options:
string
isSecret
boolean
required
values
object[]
required
createdAt
string
required
updatedAt
string
required