POST
/
environments
/
{environmentId}
/
custom
/
fields

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
name
string
required
enabled
boolean
required
required
boolean
required
fieldType
enum<string>
required
Available options:
text,
checkbox,
select
validationRules
object

Optional validation rules for the custom field

position
number
required

Response

201 - application/json
id
string
required
key
string
required
name
string
required
enabled
boolean
required

A flag indicating whether the custom field is active.

required
boolean
required

A flag indicating whether the custom field is required.

fieldType
enum<string>
required
Available options:
text,
checkbox,
select
validationRules
object

Optional validation rules for the custom field

position
number
required

Was this page helpful?