- Customer preferences and attributes
- Behavioral tracking fields
- Integration-specific identifiers
- Segmentation criteria
- 0 - Text: Single-line text (max 255 chars)
- 1 - Number: Integer or decimal values
- 2 - Date: Date values (YYYY-MM-DD)
- 3 - Boolean: True/false values
- 4 - Phone number: International phone number format
- Customer lifetime value (Number)
- Subscription expiry date (Date)
- Product preferences (Text)
- Account type (Text)
- Last purchase date (Date)
- Loyalty points (Number)
- Set values during contact creation/update
- Use in segmentation rules
- Personalize email content with merge tags
- Export in contact reports
- Use descriptive field names
- Choose appropriate field types
- Document field purposes
- Limit total custom fields for performance
Authorizations
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
Body
application/json
Custom field name (must be unique within team)
Example:
"Account Type"
Field data type.
Values:
0
- Text (max 255 characters)1
- Number (integer or decimal)2
- Date (YYYY-MM-DD format)3
- Boolean (true/false)4
- Phone number (international format)
Field description for documentation
Example:
"Customer account classification"
Response
✅ Custom field created successfully
Unique field identifier with custom_field_ prefix
Example:
"custom_field_abc123def456ghi789"
Custom field name
Example:
"Account Type"
Field data type.
Values:
0
- Text (max 255 characters)1
- Number (integer or decimal)2
- Date (YYYY-MM-DD format)3
- Boolean (true/false)4
- Phone number (international format)
Field description for documentation
Example:
"Customer account classification"