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

The unique key for the custom field

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)

Available options:
feature,
experiment
description
string
placeholder
string
defaultValue
values
string
projects
string[]

Response

200 - application/json

Resource created

customField
object
required