Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
id
string
required

Unique, permanent key used in API payloads (e.g. jira_ticket). Lowercase letters, numbers, hyphens, and underscores. Put the label in name.

Minimum string length: 1
name
string
required

The display name of the custom field

type
enum<string>
required

The type of value this custom field will take

Available options:
text,
textarea,
markdown,
enum,
multiselect,
url,
number,
boolean,
date,
datetime
required
boolean
required
sections
enum<string>[]
required

What types of objects this custom field is applicable to (feature, experiment, attribute)

Available options:
feature,
experiment,
attribute
description
string

Help text shown under the field.

placeholder
string
defaultValue
values
string
creatable
boolean

For enum and multiselect fields, allow users to enter values beyond the predefined list

projects
string[]

Response

Resource created

customField
object
required