Create a Field

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 or MULTIPLE_CHOICE type field. 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 or USER.

Allowed:
fieldOptions
array of objects

The fieldOptions params define the value and label for the different options available for SINGLE_CHOICE and MULTIPLE_CHOICE 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