Interface KlaviyoSubscriptionApi

Interface for Klaviyo list subscriptions.

interface KlaviyoSubscriptionApi {
    createSubscription(subscription): void;
}

Hierarchy (view full)

Methods

  • Subscribes the current profile to a Klaviyo list and records its consent.

    Set the profile's email and/or phone number before calling this. Push subscriptions are not created through this API — use setPushToken instead.

    Parameters

    Returns void