Field types
Explains available custom field types, with examples.
| Field type | Field type Id | Example | Validation |
| Single-line textstring | 1 | "firstName": "John" | Maximum 255 characters. Supports alphanumeric and special characters. |
| Multi-line textstring | 2 | "description": "Lead interested in enterprise CRM solution with multi-region deployment and advanced reporting features." | Maximum 1500 characters. Supports alphanumeric and special characters. |
| Checkboxboolean | 3 | "doNotCall": true | Accepts true or false. |
| Checkbox listarray | 4 | "cf_interested_products": [ { "id": 4311 }, { "id": 4312 } ] | Accepts multiple option IDs. Retrieve the list of options using 'Get {module} field options' API. For example, https://{yourdomain}/api/v1/contacts/fields/{fieldId}/options Retrieve the fieldId details using the 'Get all {module} fields' API. For example, https://{yourdomain}/api/v1/contacts/fields |
Radio buttonobject | 5 | "cf_priority": { "id": 2073 } | Accepts an option ID. |
| Datestring | 6 | "dateOfBirth": "1990-10-15" | Format: YYYY-MM-DD (ISO 8601) |
| Date and timestring | 7 | "closingDate": "2020-05-14T11:30:36.551Z" | Format: YYYY-MM-DDTHH:mm:ss.sssZ (ISO 8601) |
| Long numberNumber | 8 | "contractTerm": 8 | Maximum 15 digits. Accepts numeric values only. |
| Decimal numberNumber | 9 | "cf_percentage": 50.9 | Maximum 15 digits allowed before the decimal point. Up to 2 digits allowed after the decimal point. |
| CurrencyNumber | 10 | "value": 999.5 | Maximum 15 digits allowed before the decimal point. Up to 2 digits allowed after the decimal point. |
Single-select dropdownobject | 11 | "priority": { "id": 911 } | Accepts an option ID. |
| Multi-select dropdownarray | 12 | "cf_interested_products": [ { "id": 4311 }, { "id": 4312 } ] | Accepts multiple option IDs. Retrieve the list of options using 'Get {module} field options' API. For example, https://{yourdomain}/api/v1/contacts/fields/{fieldId}/options Retrieve the fieldId details using the 'Get all {module} fields' API. For example, https://{yourdomain}/api/v1/contacts/fields |
| Custom pattern (regex)string | 13 | "cf_contact_no": "+1-555-123-4555" | Validated against the regex pattern defined in the field configuration. |
| URLstring | 14 | "website": "https://www.acmecorp.com" | Must be a valid URL. |
| External referencestring | 18 | "cf_external_ref": "ERP-2024-0142" | Stores the identifier of a record that belongs to an external system. Maximum 255 characters. Supports alphanumeric and special characters. |