Skip to main content
A CompanyCustomField defines a custom field a company has configured for its projects, including its input type, options, and whether a value is required. Company custom fields are read-only through the Company Custom Fields endpoints.
id
integer

The custom field's unique identifier.

Example:

19

tenant_id
integer

The id of your organization's account.

Example:

12

company_id
integer

The id of the company this custom field belongs to.

Example:

6

label
string

The custom field's display label.

Example:

"Roof Pitch"

type
enum<string>

The kind of value this custom field accepts. date = a date, string = single-line text, select = one of options, int = a whole number, bool = a checkbox (true/false), text = multi-line text.

Available options:
date,
string,
select,
int,
bool,
text
Example:

"select"

options
string[] | null

The list of selectable values when type is select. Null for other field types.

Example:
comment
string | null

Free-form notes about the custom field. Null if not set.

position
integer

The custom field's position among a company's custom fields, used for ordering. Lower numbers appear earlier.

Example:

2

is_active
boolean

Whether the custom field is active. Only active custom fields can be assigned a value when creating a project.

Example:

true

is_required
boolean

Whether a value for this field must be provided when creating a project. Only enforced while the field is active.

Example:

true