Create a custom user field

Use this endpoint to create a custom user field

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

User field definition. Also accepts an optional customObjectTypeId (number) to attach the field to a custom object type.

label
object
required
string
enum
required
string
required

unique slugified key of the field

number
required

ID of the field category the field should be in

fileValidation
object

File validation config: { preset, allowedExtensions, maxFileSizeBytes, minFileSizeBytes }

number

Sort order within the field category

boolean

For FILE / FILES fields: ask the uploader to fill in file metadata (e.g. validity dates).

boolean

When true, the field stays configured but is not shown to end users on their profile form.

boolean

Private fields are only readable by the field owner (the employee) and super-admins.

staticOptions
array of objects

For REFERENCE* and SELECT field types: a static list of options. Persisted as a generated referenceSQL string so the read path stays unchanged.

staticOptions
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json