Using global preferences

Hey, I'm using global e-mail preference for my "unsubscribe" link in the e-mails i send out. I would however like to show the correct state if the user has already opted out on the email and set the global preference to false. But it seems that there is no way of fetching the global preference state? Seems perhaps that the changing the global preference only sets the e-mail to false on all my workflows, is that correct?
3 Replies
christian
christianOP3w ago
Any ideas?
Pawan Jain
Pawan Jain3w ago
But it seems that there is no way of fetching the global preference state
Checkout this api https://docs.novu.co/api-reference/subscribers/get-subscriber-global-preferences
christian
christianOP3w ago
Thanks @Pawan Jain 👌🏻
Want results from more Discord servers?
Add your server