Skip to content

Custom Fields

Custom fields let you extend contacts, companies, and projects with your own data. Define text, number, date, boolean, or dropdown fields and use them across your CRM.

FieldTypeDescription
iduuid
account_iduuid
entity_typestring
labelstring
field_typestring
optionsobject
requiredbool
display_orderint
created_atdatetime

Endpoint: custom-fields-create

FieldTypeRequiredDescription
entity_typestringYes
labelstringYes
field_typestringYes
optionsobjectNo
requiredboolNo
display_orderintNo
Terminal window
curl -X POST https://api.driftwoodapp.com/api/custom-fields-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_type": "...", "label": "...", "field_type": "..."}'

Endpoint: custom-fields-delete

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/custom-fields-delete \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: custom-fields-get

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/custom-fields-get \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: custom-fields-list

FieldTypeRequiredDescription
entity_typestringNo
Terminal window
curl -X POST https://api.driftwoodapp.com/api/custom-fields-list \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'

Endpoint: custom-fields-update

FieldTypeRequiredDescription
idstringYes
labelstring?No
optionsobject?No
requiredbool?No
display_orderint?No
Terminal window
curl -X POST https://api.driftwoodapp.com/api/custom-fields-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'