Create a Field

Create a custom field for PROJECT, TASK, USER, or COMPANY object types. fieldType NOTE is allowed for PROJECT and COMPANY. For NOTE fields, optional fieldOptions are stored as tags.

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

The Create a field API allows users to create a new field in your Rocketlane account. This endpoint provides a way for developers to add field related details, including the field label, description, field type and field options in case it is a SINGLE_CHOICE, MULTIPLE_CHOICE, or NOTE type field. For NOTE fields, optional fieldOptions are stored as tags on the field and returned as fieldOptions in responses. fieldType NOTE is allowed for PROJECT and COMPANY object types. You can also enable or disable the field and set its privacy setting.

To customise the response, utilise the includeFields parameter, and it will return the created field object in the response body.

📘

The order of the field options will be preserved as provided during field creation.


In case, any issues arise or further assistance is required, please refer to the error handling section or reach out to our support team at [email protected] for a prompt resolution.

Query Params
includeFields
array of strings

This query parameter allows you to specify which field properties should be returned in the response body by selecting from the drop down. To get the relevant field properties, use comma separated values. If this field is left blank, the default properties are returned.

includeFields
Allowed:
boolean

This query parameter allows you to specify if all the field properties should be returned in the response body. If the field is left blank, the default field properties are returned.

Body Params
string
required

The fieldLabel is the name of the field.

string

The description of the field.

string
enum
required

This defines type of the field. Refer Custom Fields for further information

string
enum
required

This defines type of object that is associated with the field. This could be TASK, PROJECT, USER, BUDGET or COMPANY.

Allowed:
fieldOptions
array of objects

The fieldOptions params define the label and color for options on SINGLE_CHOICE and MULTIPLE_CHOICE fields. For NOTE fields, fieldOptions are stored as tags on the field and returned as fieldOptions in responses. The same applies when adding, updating, or deleting options on NOTE fields.

fieldOptions
string
enum

The number of stars in the Rating Scale when Field Type is RATING.

Allowed:
boolean
Defaults to true

This depicts if the field is enabled or not. Only those fields which are enabled will reflect in the account.

boolean

This depicts if the field is private or not.

Responses

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