Skip to main content
Version: v3New

Create Contact

POST 

/contacts/

Create a new contact

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    firstNamestringnullable

    First name of the contact

    lastNamestringnullable

    Last name of the contact

    namestringnullable

    Full name of the contact

    emailstringnullable

    Email address of the contact

    locationIdstringrequired

    Location Id the contact should be created under

    genderstring

    Gender of the contact

    phonestringnullable

    Phone number of the contact

    address1stringnullable

    Street address of the contact

    citystringnullable

    City of the contact

    statestringnullable

    State of the contact

    postalCodestring

    Postal code of the contact

    websitestringnullable

    Website URL of the contact

    timezonestringnullable

    Timezone of the contact

    dndboolean

    Whether Do Not Disturb is enabled for the contact

    inboundDndSettingsobject

    Inbound DND settings per channel for the contact

    tagsstring[]

    List of tags to assign to the contact

    customFieldsobject[]

    List of custom field values to assign to the contact

    sourcestring

    Source from which the contact was created

    dateOfBirthobjectnullable

    The birth date of the contact. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, YYYY_MM_DD, MM_DD_YYYY

    countrystring

    Country code of the contact (ISO 3166-1 alpha-2)

    companyNamestringnullable

    Company name of the contact

    assignedTostring

    User's Id

    dndSettingsobject

    Per-channel DND settings for the contact

application/json

Successful response

Schema
    contactobject

    Contact details