@hatang/sdk
    Preparing search index...

    Interface CreateContactOptions

    Without audience_id the contact is global (Resend's current model); with it, the older audience API is used.

    interface CreateContactOptions {
        audience_id?: string;
        email: string;
        first_name?: string | null;
        last_name?: string | null;
        properties?: Record<string, string | number | null>;
        segments?: { id: string }[];
        topics?: { id: string; subscription: TopicSubscription }[];
        unsubscribed?: boolean;
    }
    Index
    audience_id?: string
    email: string
    first_name?: string | null
    last_name?: string | null
    properties?: Record<string, string | number | null>
    segments?: { id: string }[]
    topics?: { id: string; subscription: TopicSubscription }[]
    unsubscribed?: boolean