POST /rest/v1.0/workforce-planning/v2/companies/{company_id}/custom-fields
Creates a new Custom Field for a given company ID. Custom Fields are used to store additional information about Projects or People.
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
company_id |
Yes |
Unique identifier for the company. This parameter accepts both formats:
A proxy layer automatically handles both formats, but using the Procore company ID is preferred for consistency with other Procore APIs. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
can_filter |
Boolean | No |
If true, allows this field to be used as a filter. |
values[] |
Array | No |
Only applicable for |
name |
String | Yes |
The name of the Custom Field that appears in the UI. |
description |
String | No |
A description to help Admin users understand the field’s purpose. |
type |
String | Yes |
The type of Custom Field. Determines the kind of data it will store. The type cannot be changed once created. Possible values:
|
on_projects |
Boolean | No |
If true, the field is available on Projects. |
integration_only |
Boolean | No |
If true, only integrations can update this field. |
on_people |
Boolean | No |
If true, the field is available on People. |
sort_by |
String | No |
Only applicable for Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.