BoldSales

API Documentation

Field types

Explains available custom field types, with examples.

Field typeField type IdExampleValidation
Single-line textstring1"firstName": "John"Maximum 255 characters. Supports alphanumeric and special characters.
Multi-line textstring2"description": "Lead interested in enterprise CRM solution with multi-region deployment and advanced reporting features."Maximum 1500 characters. Supports alphanumeric and special characters.
Checkboxboolean3"doNotCall": trueAccepts true or false.
Checkbox listarray4"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.
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

Datestring6"dateOfBirth": "1990-10-15"Format: YYYY-MM-DD (ISO 8601)
Date and timestring7"closingDate": "2020-05-14T11:30:36.551Z"Format: YYYY-MM-DDTHH:mm:ss.sssZ (ISO 8601)
Long numberNumber8"contractTerm": 8Maximum 15 digits. Accepts numeric values only.
Decimal numberNumber9"cf_percentage": 50.9Maximum 15 digits allowed before the decimal point. Up to 2 digits allowed after the decimal point.
CurrencyNumber10"value": 999.5Maximum 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.
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

Multi-select dropdownarray12"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)string13"cf_contact_no": "+1-555-123-4555"Validated against the regex pattern defined in the field configuration.
URLstring14"website": "https://www.acmecorp.com"Must be a valid URL.
External referencestring18"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.