Home > @infiniteobjects/klaviyo-service > KlaviyoService > addProfileToList
Adds the given profile to a list.
In Klaviyo’s world “adding” means that the profile will not receive an email.
Signature:
addProfileToList(list: string, profile: KlaviyoProfile): Promise<KlaviyoProfileBase>;
| Parameter | Type | Description |
|---|---|---|
| list | string | ListId to add the profile to. |
| profile | KlaviyoProfile | Klaviyo Profile see: KlaviyoProfile |
Returns:
Promise<KlaviyoProfileBase>
This should be used when we silently want to add a profile to a list. ex: Artist registry