cURL
curl --request POST \ --url https://api.prod.getdex.com/v1/custom-fields/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "custom_field": { "name": "<string>", "field_type": "input", "categories": [ { "category": "<string>" } ] } } '
{ "error": true, "data": { "custom_field": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "field_type": "<string>", "categories": [ { "category": "<string>" } ], "created_at": "<string>", "updated_at": "<string>" } } }
Create a new custom field definition. Once created, the field can be set on any contact to store additional structured data.
Use your Dex API key (e.g. dex_abc123...) as the Bearer token.
Show child attributes
Successful response
Was this page helpful?