I am creating a call via = https://a.klaviyo.com/api/profiles?additional-fieldssprofile]=subscriptions
With the body as follows -- the profile is being created but not subscribed. What am I doing wrong? How can I subscribe the user to a specific list too with this call?
data: {
type: "profile",
attributes: {
email: email,
properties: {
signup_date: created_at,
}
},
subscriptions: {
email: {
marketing: {
can_receive_email_marketing: true,
consent: "SUBSCRIBED",
consent_timestamp: created_at
}
}
}
},
