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

    Response for Create or update a contact

    interface CreateContactResponse {
        contact_tags?: string[];
        custom_fields?: Record<string, unknown>[];
        date_created_utc?: string;
        display_name?: string;
        first_contact_utc?: string;
        first_name?: string;
        groups?: number[];
        is_archived?: boolean;
        is_blocked?: boolean;
        is_resolved?: boolean;
        is_suppressed?: boolean;
        last_contact_date_utc?: string;
        last_message?: Record<string, unknown>;
        last_msg_received_utc?: string;
        last_msg_sent_utc?: string;
        last_name?: string;
        note?: string;
        opted_out_utc?: string;
        phone_number?: string;
        response_count?: number;
        suppressed_reason?: string;
        total_msgs_received?: number;
        total_msgs_sent?: number;
    }
    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.

    date_created_utc?: string

    Timestamp of when ths contact was created.

    display_name?: string

    Full name of this contact. This is the default name displayed in the web app when viewing contacts.

    first_contact_utc?: string

    Timestamp of when the first message was sent to this contact.

    first_name?: string

    First name of this contact.

    groups?: number[]

    Array of integer ids referring to groups this contact belongs to.

    is_archived?: boolean

    Whether the conversation with this contact are archived, and therefore cannot be seen when querying conversations (by default).

    is_blocked?: boolean

    Whether the conversation with this contact are blocked, and therefore not received or stored.

    is_resolved?: boolean

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

    is_suppressed?: boolean

    Whether the conversation with this contact are suppressed, and therefore not pushed to the top of the message queue when received.

    last_contact_date_utc?: string

    Timestamp of when the last message was sent or received from this contact.

    last_message?: Record<string, unknown>

    Last message sent to or from this contact.

    last_msg_received_utc?: string

    Timestamp of when the last message was received from this contact.

    last_msg_sent_utc?: string

    Timestamp of when the last message was sent to this contact.

    last_name?: string

    Last name of this contact.

    note?: string

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

    opted_out_utc?: string

    Timestamp of when this contact opted out to receiving messages.

    phone_number?: string

    Phone number of this contact.

    response_count?: number

    Total number of response messages from the contact.

    suppressed_reason?: string

    Phrase describing the reason for suppressing contact. If is_suppressed is false, this will be null.

    total_msgs_received?: number

    The number of total messages received from this contact.

    total_msgs_sent?: number

    The number of total messages sent to this contact.