How to unsubscribe a user from all lists via the API?
We’ve got hundreds of mailing lists, so cannot loop around each one unsubscribing hoping they’re in it.
How can we get a list of Lists that the user is subscribed to, to unsubscribe them via the API
or
An API call that unsubscribes the user from all lists they’re members of?
Thanks
Best answer by sourabh
Hey @owen_fnatic,
A user once unsubscribed from a list gets unsubscribed everywhere since that detail gets attached to his profile in Klaviyo and consent is removed globally for that user.
The best way to bulk unsubscribe users from mailing lists is to create a separate list of users that you want to unsubscribe and then unsubscribe them all from that list via API. Once that is done, they will be unsubscribed from everywhere and get suppressed.
A user once unsubscribed from a list gets unsubscribed everywhere since that detail gets attached to his profile in Klaviyo and consent is removed globally for that user.
The best way to bulk unsubscribe users from mailing lists is to create a separate list of users that you want to unsubscribe and then unsubscribe them all from that list via API. Once that is done, they will be unsubscribed from everywhere and get suppressed.
A user once unsubscribed from a list gets unsubscribed everywhere since that detail gets attached to his profile in Klaviyo and consent is removed globally for that user.
The best way to bulk unsubscribe users from mailing lists is to create a separate list of users that you want to unsubscribe and then unsubscribe them all from that list via API. Once that is done, they will be unsubscribed from everywhere and get suppressed.
So a user can’t unsubscribe from a single list!? So if a user would not want to be part of a list the correct way would be to remove them from the list and not unsubscribe?
Okay, so that is the case. You should really add a note about that in the API documentation for the DELETE call.
Search saves time. Contributing compounds value.
The ROI of your reply? One helpful answer can support dozens of teams, build your credibility, sharpen your own expertise over time, foster connectivity, and create good karma – because what goes around comes around. The community is what YOU make it.