Skip to main content

Create a contact

POST 

/v3/contacts

Create a contact

Request​

Body

    full_name string

    Possible values: <= 255 characters

    Full Name of contact

    email string

    Possible values: <= 255 characters

    Email of contact. Can be optional only if anonymous contact feature is enabled.

    phone string

    Possible values: <= 255 characters

    Phone number of the contact

    mobile string

    Possible values: <= 255 characters

    Mobile number of the contact

    job_title string

    Possible values: <= 255 characters

    Job Title of the contact

    contact_type string

    Possible values: [contact, employee]

    Default value: contact

    Type of contact

    referenceId string

    Possible values: <= 255 characters

    Reference ID of the anonymous contact

    unique_id string

    Possible values: <= 255 characters, Value must match regular expression /^[^\s\x00-\x1F\x7F](?:[^\x00-\x1F\x7F]*[^\s\x00-\x1F\x7F])?$/

    Unique ID of the contact (1-255 characters, no leading/trailing spaces)

    unsubscribed boolean

    Unsubscribed status of the contact

    unsubscribe_text string

    Possible values: <= 255 characters

    Reason for unsubscribing

Responses​

Successful

Schema

    data

    object

    full_name string

    Possible values: <= 255 characters

    Full Name of contact

    email string

    Email of contact

    phone string

    Possible values: <= 255 characters

    Phone number of the contact

    mobile string

    Possible values: <= 255 characters

    Mobile number of the contact

    job_title string

    Possible values: <= 255 characters

    Job Title of the contact

    contact_type string

    Possible values: [contact, employee]

    Default value: contact

    Type of contact

    referenceId string

    Possible values: <= 255 characters

    Reference ID of the anonymous contact

    unique_id string

    Possible values: <= 255 characters, Value must match regular expression /^[^\s\x00-\x1F\x7F](?:[^\x00-\x1F\x7F]*[^\s\x00-\x1F\x7F])?$/

    Unique ID of the contact (1-255 characters, no leading/trailing spaces)

    unsubscribed boolean

    Unsubscribed status of the contact

    unsubscribe_text string

    Possible values: <= 255 characters

    Reason for unsubscribing

Loading...