N
Novu2mo ago
christian

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
christianOP2mo ago
Any ideas?
Pawan Jain
Pawan Jain2mo 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
christianOP2mo ago
Thanks @Pawan Jain 👌🏻

Did you find this page helpful?