Skip to main content
POST
Create custom field
Version:v4

Authorizations

Authorization
string
header
required

Sesame Public API consumer token (Authorization: Bearer )

Body

application/json
name
string
required

Unique within the company. The read-only slug is generated from it.

Maximum string length: 255
type
enum<string>
required
Available options:
date,
email,
geo,
numeric,
option,
phone,
text,
url
section
enum<string>
default:default
Available options:
default,
labor,
personal
options
string[]

Option names. Required, with at least one name, when type is option; not allowed for any other type. Names are compared ignoring case and surrounding spaces and must not repeat.

Minimum array length: 1
Maximum string length: 255

Response

The identifier of the created custom field.

data
object