Skip to main content
POST
Create project custom field

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

projectId
integer
required

The id of the project.

Body

application/json
company_custom_field_id
integer
required

The id of the company custom field definition to set a value for. Required. Must belong to the project's own company.

Example:

19

value
string | null

The value to set, as free-form text. Optional; the API doesn't validate this against the definition's type or options.

Example:

"6/12"

Response

The created project custom field value.

id
integer

The custom field value's unique identifier.

Example:

4417

tenant_id
integer

The id of your organization's account.

Example:

12

project_id
integer

The id of the project this value belongs to.

Example:

9103

company_custom_field_id
integer

The id of the company custom field definition this value fills in. See Company Custom Field.

Example:

19

value
string | null

The value set for this custom field, as free-form text. The expected format follows the definition's type and options, but the API doesn't validate or enforce it. Null if not set.

Example:

"6/12"