/bff/contact/custom-field/definition-save
Creates or updates a custom field definition. Uses upsert on key + organisation.
ContactpostBffContactCustom-fieldDefinition-save
Parameters
9 body
Body · 9
keystringRequiredUnique field key identifier.
typestringRequiredField data type.
labelstringRequiredDisplay label for the field.
helperTextstringHelp text shown below the field.
placeholderstringPlaceholder text for the input.
requiredbooleanRequiredWhether the field is required.
activebooleanRequiredWhether the field is active and visible.
validationPatternstringRegex validation pattern.
positionnumberRequiredSort order position.
Request
POST /bff/contact/custom-field/definition-save
curl -X POST "https://api.bizkithub.com/bff/contact/custom-field/definition-save" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"key": "company_size",
"type": "text",
"label": "example_label",
"helperText": "example_helperText",
"placeholder": "example_placeholder",
"required": false,
"active": false,
"validationPattern": "example_validationPattern",
"position": 0
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.