Hi, I have noticed that in the Klaviyo destination...
# support
q
Hi, I have noticed that in the Klaviyo destination integration, adding a user to a list seems to skip double opt-in and ads a user without explicit consent, which can become an issue. I was wondering if this can be addressed? After reviewing the source code, it seems that you are using the 'list' api to add users to a list instead of the 'subscription' endpoints.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
q
After checking the API version being used and making a sample request, it seems that the issue isnt Klaviyo, but something on Rudderstack's end.
g
Asked the team. Will get back to you soon
b
Hey @quiet-insurance-54953, In the current flow in Klaviyo destination, if
listId
is being provided, the user is being added to the list through the members endpoint and subscribe endpoint is being called only if the user has provided the field
"subscribe": true"
in the properties in traits. This is the reason why double opt-in settings is being skipped here.
q
Is there a way to stop users from being added by the members endpoint and only send via the subscribe endpoint? Since Klaviyo states that it is not best practice to specify 'subscribe to list' as a trigger and to use 'added to list', I think the flow should only subscribe the user to the list via the subscribe endpoint.