Custom Fields

get

Get all custom fields

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Query parameters
object_typestringRequired

The object type of the custom fields. Can be "account", "issue", or "contact".

Responses
200Success
application/json
get
/custom-fields
get

Get a custom field by its ID

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the custom field.

Responses
200Success
application/json
get
/custom-fields/{id}
post

Create a custom field

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Body
default_valuestringOptional

The default value for single-valued custom fields.

default_valuesstring[]Optional

The default values for multi-valued custom fields.

descriptionstringOptional

The description of the custom field.

labelstringRequired

The label of the custom field.

object_typestringRequired

The object type of the custom field. Can be "account", "issue", or "contact"

slugstringOptional

The slug of the custom field.

typestringRequired

The type of the custom field. Can be one of text, number, decimal, boolean, date, datetime, user, url, select, or multiselect.

Responses
200Success
application/json
post
/custom-fields
patch

Update a custom field

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the custom field.

Body
default_valuestringOptional

The default value for single-valued custom fields.

default_valuesstring[]Optional

The default values for multi-valued custom fields.

descriptionstringOptional

The description of the custom field.

labelstringOptional

The label of the custom field.

slugstringOptional

The slug of the custom field.

Responses
200Success
application/json
patch
/custom-fields/{id}

Last updated

Was this helpful?