Create a custom field
Custom Fields
Create Custom Field
Create a new custom field to store additional contact data
POST
Create a custom field
Use Cases
- Lead qualification: Store lead score, source, or stage
- Segmentation: Categorize contacts by industry, plan, or region
- Personalization: Store preferences for personalized messaging
- Integration sync: Map external CRM fields to Minimo
Field Types
| Type | Description |
|---|---|
text | Free text input |
number | Numeric value |
boolean | True/false |
date | Date value |
datetime | Date and time |
select | Single selection from options |
json | JSON object |
Best Practices
Use Consistent Naming
Use Consistent Naming
Use
SNAKE_CASE for keys (e.g., COMPANY_SIZE, LEAD_SOURCE). Keys are automatically uppercased.Organize with Categories
Organize with Categories
Group related fields using categories like “Company Info”, “Lead Data”, “Preferences” for better organization.
Plan Field Types
Plan Field Types
Choose the right type for your data. Use
number for numeric values, date for dates, and select for predefined options.Common Errors
| Error | Cause | Solution |
|---|---|---|
key already exists | Duplicate key in account | Use a different key name |
validation_error | Missing required fields | Include key, displayName, and type |
unauthorized | Invalid API key | Check Authorization header |
Code Examples
JavaScript
JavaScript
Python
Python
Related Endpoints
- List Custom Fields: Retrieve all custom fields
- Create or Update Contact: Create and update contacts with custom field values
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Unique identifier (will be uppercased)
Example:
"COMPANY_SIZE"
Human-readable label
Example:
"Company Size"
Field type
Available options:
text, number, boolean, date, datetime, select, json Example:
"text"
Category for grouping fields
Example:
"Company Info"
Acceptable values for select/enum types
Additional metadata
Whether field is visible in UI
Response
Custom field created successfully
Example:
{
"id": 1,
"key": "COMPANY_SIZE",
"displayName": "Company Size",
"type": "text",
"category": "Company Info",
"visibility": true,
"source": "Manual"
}