Custom fields

ToolREST endpointAnnotations
list_custom_fieldsGET /v1/custom-fieldsread-only, idempotent
create_custom_fieldPOST /v1/custom-fieldswrite
update_custom_fieldPATCH /v1/custom-fields/{fieldId}write
delete_custom_fieldDELETE /v1/custom-fields/{fieldId}destructive

Valid types

text, textList, number, numberList, date, email, phone, imageUrl, imageUrlList, fileUrl, fileUrlList


list_custom_fields

No arguments. Returns the workspace's custom fields alongside the contact's default fields (name, email, birthdate, etc.).


create_custom_field

FieldTypeRequiredDescription
namestring (1-100)yesVisible name.
typeenum (see above)yesData type.
descriptionstring (≤ 500)no
automaticbooleannoWhether it's computed automatically. Default false.
overwritablebooleannoWhether an existing value can be overwritten. Default false.
workspacestringif multi-ws

update_custom_field

Lets you edit description, automatic, and overwritable. The name and type cannot be edited. At least one of the three editable fields must be sent.

FieldRequired
fieldIdyes
workspaceif multi-ws
description, automatic, overwritableone of the three

delete_custom_field

FieldRequired
fieldIdyes
workspaceif multi-ws

Deletes the field and clears references on every client that had it assigned.