Skip to main content
POST
Create custom-field definitions

Authorizations

Authorization
string
header
required

Organization API key with an sk_live_ or sk_test_ prefix

Path Parameters

entity
enum<string>
required

MaintainX resource family for the custom-field definitions

Available options:
assets,
locations,
parts,
workOrders

Query Parameters

skipWebhook
boolean

Compatibility parameter with no behavioral effect. true also accepts 1 or yes.

Body

application/json
fields
object[]
required
Minimum array length: 1

Response

Created definitions

id
integer<int32>
required
Required range: x >= 1
label
string
required
Minimum string length: 1
sortOrder
integer
required
Required range: x >= 0
type
enum<string>
required
Available options:
oneline,
multiline,
number,
singleSelect,
date,
datetime,
link
options
string[] | null
required