cURL
curl --request POST \ --url https://app.journeybee.io/api/v1/custom-fields \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "label": "<string>", "type": "<string>", "category": "<string>", "partner_type": "<string>", "required": true, "shared": true, "options": [ { "label": "<string>" } ] }'
{ "id": 123, "uuid": "<string>" }
Create a new custom field definition for leads, deals, or partners
curl -X POST "https://app.journeybee.io/api/v1/custom-fields" \ -H "Authorization: Bearer your-api-key-uuid" \ -H "Content-Type: application/json" \ -d '{"label": "Deal Size", "type": "select", "category": "lead_deal", "options": [{"label": "Small"}, {"label": "Medium"}, {"label": "Large"}]}'
text
textarea
number
date
boolean
select
multi_select
lead
lead_deal
partner
referral
reseller
Show Option Object
write_access