Interface SendyNodeParameters

Source
interface SendyNodeParameters {
    additionalFields?:
        | {
            excludeListIds?: string;
            excludeSegmentIds?: string;
            listIds?: string;
            plainText?: string;
            queryString?: string;
            segmentIds?: string;
            trackClicks?: boolean;
            trackOpens?: boolean;
        }
        | {
            country?: string;
            gdpr?: boolean;
            hp?: boolean;
            ipaddress?: string;
            name?: string;
            referrer?: string;
            silent?: boolean;
        };
    brandId?: string;
    email?: string;
    fromEmail?: string;
    fromName?: string;
    htmlText?: string;
    listId?: string;
    operation?: | "create"
    | "add"
    | "remove"
    | "delete"
    | "status"
    | "count";
    replyTo?: string;
    resource?: "campaign"
    | "subscriber";
    sendCampaign?: boolean;
    subject?: string;
    title?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        excludeListIds?: string;
        excludeSegmentIds?: string;
        listIds?: string;
        plainText?: string;
        queryString?: string;
        segmentIds?: string;
        trackClicks?: boolean;
        trackOpens?: boolean;
    }
    | {
        country?: string;
        gdpr?: boolean;
        hp?: boolean;
        ipaddress?: string;
        name?: string;
        referrer?: string;
        silent?: boolean;
    }

Default: {}

Source§

readonly brandId?: string

Source§

readonly email?: string

Email address of the subscriber

Source§

readonly fromEmail?: string

The 'From email' of your campaign

Source§

readonly fromName?: string

The 'From name' of your campaign

Source§

readonly htmlText?: string

The 'HTML version' of your campaign

Source§

readonly listId?: string

The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.

Source§

readonly operation?: "create" | "add" | "remove" | "delete" | "status" | "count"

Default: "create"

Source§

readonly replyTo?: string

The 'Reply to' of your campaign

Source§

readonly resource?: "campaign" | "subscriber"

Default: "subscriber"

Source§

readonly sendCampaign?: boolean

Whether to send the campaign as well and not just create a draft. Default is false.

Source§

readonly subject?: string

The 'Subject' of your campaign

Source§

readonly title?: string

The 'Title' of your campaign