BoldSales

API Documentation

Create a contact

post/api/v1/contacts

Creates a new contact and returns the created contact's ID upon a successful API call.

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/contacts' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "firstName": "John",
      "lastName": "Wick",
      "emailAddresses": [
        {
          "value": "[email protected]",
          "label": "Business",
          "isPrimary": true
        }
      ],
      "phoneNumbers": [
        {
          "value": "9003790037",
          "label": "Business",
          "isPrimary": true
        }
      ],
      "street": "123 Main Street",
      "city": "New York",
      "state": "New York",
      "country": "US",
      "postalCode": "1252",
      "doNotEmail": true,
      "doNotCall": true,
      "twitter": "https://www.twitter.com/john",
      "facebook": "https://www.facebook.com/john",
      "linkedIn": "https://www.linkedin.com/John",
      "jobTitle": "Engineer",
      "companies": [
        {
          "id": 194,
          "isPrimary": true
        }
      ],
      "owner": {
        "id": 227
      },
      "description": "Test",
      "dateOfBirth": "2025-08-01",
      "latestSourceDate": "2025-09-05",
      "originalSource": {
        "id": 947
      },
      "latestSource": {
        "id": 954
      },
      "lifecycleStage": {
        "id": 517
      },
      "salutation": {
        "id": 968
      },
      "customFields": {
        "cf_preferred_language": {
          "id": 1
        }
      }
    }
  }'

Query parameters

skipValidationbooleanA flag indicating whether to bypass specific validations during contact creation. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied.

Request body

firstNamestringRepresents the first name of the contact.
lastNamestringRepresents the last name of the contact.

emailAddressesarray

Email addresses for the contact. This field supports multiple values.

valuestringRequiredThe actual email address of the contact.
labelstringDescribes the type of email address (Business, Personal, Others).
isPrimarybooleanIndicates whether this is the contact's primary email address.

phoneNumbersarray

Phone numbers for the contact. This field supports multiple values.

valuestringRequiredThe actual phone number of the contact.
labelstringDescribes the type of phone number (Business, Personal, Others).
isPrimarybooleanIndicates whether this is the contact's primary phone number.
streetstringThe street portion of the address, including house number and road name.
citystringThe city or locality of the contact's address.
statestringThe state, province, or region tied to the address.
countrystringThe country associated with the address.
postalCodestringPostal or ZIP code used for mail delivery.
doNotEmailbooleanSpecifies whether email communication should be disabled for this contact.
doNotCallbooleanSpecifies whether call communication should be disabled for this contact.
twitterstringThe contact's Twitter (X) handle or profile URL.
facebookstringThe contact's Facebook handle or profile URL.
linkedInstringThe contact's LinkedIn handle or profile URL.
jobTitlestringThe contact's professional title or position.

companiesarray

The companies that will be associated with this contact.

idlongRequiredThe ID of the company that will be associated with this record. This ID can be retrieved by calling the Get all companies API.
isPrimarybooleanIndicates whether this is the contact's primary company.

ownerobject

The owner of the contact.

idintegerRequiredThe ID of the user who will be the owner of this record. This ID can be retrieved by calling the Get all users API.
descriptionstringAdditional details or notes about the contact.
dateOfBirthstringThe contact's date of birth.
latestSourceDatestringThe most recent date the contact engaged with your business.

originalSourceobject

The first known source through which the contact interacted with your business.

idintegerRequiredThe unique identifier of the originalSource field option. Retrieve the list of options using the Get contact field options API, and obtain fieldId details using the Get all contact fields API.

latestSourceobject

Represents the most recent acquisition channel through which the contact was engaged.

idintegerRequiredThe unique identifier of the latestSource field option. Retrieve the list of options using the Get contact field options API, and obtain fieldId details using the Get all contact fields API.

lifecycleStageobject

Represents the stage at which the contact resides within the marketing or sales lifecycle.

idintegerRequiredThe unique identifier of the lifecycleStage field option. Retrieve the list of options using the Get contact field options API, and obtain fieldId details using the Get all contact fields API.

salutationobject

Represents the formal or preferred title for a contact, used for personalizing communication and maintaining professional tone.

idintegerRequiredThe unique identifier of the salutation field option. Retrieve the list of options using the Get contact field options API, and obtain fieldId details using the Get all contact fields API.
customFieldsobjectRepresents a collection of user-defined custom fields used to enrich the record. Refer to the Field types page to learn more about field types and their request formats.

Example response

201 Created

{
  "message": "Contact created successfully.",
  "data": {
    "id": 202730
  }
}