Azure Connectors Node.js SDK
    Preparing search index...

    Create or update a contact

    interface CreateContactInput {
        contact_tags?: string[];
        custom_fields?: Record<string, unknown>[];
        display_name?: string;
        first_name?: string;
        groups?: number[];
        is_archived?: boolean;
        is_blocked?: boolean;
        is_resolved?: boolean;
        is_suppressed?: boolean;
        last_name?: string;
        note?: string;
        suppressed_reason?: string;
    }
    Index
    contact_tags?: string[]

    Array of guids referring to tags attached to this contact.

    custom_fields?: Record<string, unknown>[]

    Array of custom field ids and values defined for this contact.

    display_name?: string

    The new full name of the contact. This is the default name displayed in the web app when viewing contacts.

    first_name?: string

    The new first name of the contact.

    groups?: number[]

    Array of integer ids referring to groups this contact will belong to.

    is_archived?: boolean

    Determines whether conversations with this contact are archived, and therefore cannot be seen when querying conversations (by default).

    is_blocked?: boolean

    Determines whether conversations with this contact are blocked, and therefore not received or stored.

    is_resolved?: boolean

    Determines whether the current conversation with this contact is resolved. Any new texts received by this contact will set this false.

    is_suppressed?: boolean

    Determines whether conversations with this contact are suppressed, and therefore not pushed to the top of the message queue when received.

    last_name?: string

    The new last name of the contact.

    note?: string

    Short phrase describing contact. Used for convenience. This is never shown to the contact.

    suppressed_reason?: string

    Phrase describing the reason for suppressing contact.