Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface ContactCreateRequest

    A participant in a conversation typically representing a person. It is associated with a collection of channel identities.

    interface ContactCreateRequest {
        channel_identities: ChannelIdentity[];
        channel_priority?: string[];
        display_name?: string;
        email?: string;
        external_id?: string;
        language: ContactLanguage;
        metadata?: string;
    }
    Index

    Properties

    channel_identities: ChannelIdentity[]

    List of channel identities. Array must contain at least one item.

    channel_priority?: string[]

    List of channels defining the channel priority. The channel at the top of the list is tried first.

    display_name?: string

    The display name. A default 'Unknown' will be assigned if left empty.

    email?: string

    Email of the contact.

    external_id?: string

    Contact identifier in an external system.

    language: ContactLanguage
    metadata?: string

    Metadata associated with the contact. Up to 1024 characters long.