Skip to main content
POST
Define a contact variable.

Authorizations

Authorization
string
header
required

A person's session: Authorization: Bearer <ID token>, the ID token the Sendblue sign-in issues. The person acts in their company's root account with the role of their seat.

Headers

Idempotency-Key
string
required

A value unique to this intended write, 1 to 128 visible ASCII characters. A repeat with the same key returns the original result.

Required string length: 1 - 128
Pattern: ^[\x21-\x7E]+$

Body

application/json
name
string
required
Required string length: 1 - 64
type
enum<string>
required
Available options:
text,
number,
boolean,
date

Response

The variable.

id
string
required
name
string
required
type
enum<string>
required
Available options:
text,
number,
date,
datetime,
boolean,
single_select,
multi_select,
user
created_at
string<date-time> | null
required