Skip to main content
POST
/
v1
/
custom-fields
Create a custom field
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>"
    }
  }
}

Use cases

  • Add a new field type for tracking custom data (e.g., “LinkedIn URL”, “Birthday”, “Lead Source”)
  • Set up custom fields during onboarding or data import
  • Extend the contact schema to match your specific workflow

Authorizations

Authorization
string
header
required

Use your Dex API key (e.g. dex_abc123...) as the Bearer token.

Body

application/json
custom_field
object
required

Response

Successful response

error
boolean
required
data
object
required