Skip to main content
POST
Create CustomField
A CustomField defines an additional field available for a specific entity type. Nexudus supports attaching arbitrary data to any entity type via the CustomFields array. Each custom field targets a single RecordType (e.g. Coworker, Team, Booking, Product) and has a FieldType that determines how the value is captured and stored (Text, LongText, Boolean, Dropdown, Date, Integer, or Decimal). For Dropdown fields, populate AvailableOptions with a comma-separated list of choices. Set AllowMultipleOptions to true to let users select more than one. The CustomFieldIndex uniquely identifies the field within its record type and business, and is used to map values in the entity’s CustomFields array. Use the Visibility property to control whether the field is Visible, ReadOnly, or Internal (admin-only). The various DisplayIn* flags control where the field appears: sign-up forms, profile forms, tour forms, event sign-up, booking forms, directory search, and public profiles. Custom fields targeting the Coworker record type can be placed in a specific tab using CoworkerFieldPosition (General, Contact, Profile, Billing, Access, or Notes). When RecordType is FloorPlanDesk or Resource, link specific resources via the Resources many-to-many list.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CustomField-Create role.

Enums

Request Body

Required Fields

integer
required
Business this custom field belongs to.
string
required
Field label displayed to users.
integer
required
Sort order when multiple custom fields are shown together.
integer
required
Entity type this field applies to: Coworker, Team, Booking, Product, Resource, etc..
integer
required
Data type of the field: Text, LongText, Boolean, Dropdown, Date, Integer, or Decimal.
integer
required
Tab where this field appears on the coworker record: General, Contact, Profile, Billing, Access, or Notes.
integer
required
Unique index identifying this field within its record type and business.
integer
required
Visibility level: Visible (editable by customer), ReadOnly (shown but not editable), or Internal (admin only).

Optional Fields

string
Comma-separated list of choices for Dropdown fields.
boolean
Whether multiple options can be selected for Dropdown fields.
boolean
Whether a value must be provided when saving the parent entity.
string
Optional group name used to visually group related custom fields together.
boolean
Show this field on the coworker’s public profile page.
Show this field as a filter in the member directory search.
Alternative label shown when this field appears in directory search filters.
boolean
Show this field on the member sign-up form.
boolean
Show this field on the member profile edit form.
boolean
Show this field on the tour booking form.
boolean
Show this field on the event sign-up form.
boolean
Show this field on the resource booking form.
boolean
Show this field on the product purchase form.
boolean
Show this field on the team sign-up form.
boolean
Show this field on the course sign-up form.
boolean
Show this field on the pricing plan (tariff) sign-up form.
boolean
Show this field on the booking sign-up form.
Show this field as a filter in resource search.
integer[]
Resources this custom field is linked to (for FloorPlanDesk or Resource record types).

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the customfield was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response