I am trying to get the status of current user (subscribed/unsubscribed) from Marketo to an web application.
The scenario is like this:
User opens our web application page and Marketo script is loaded;
From Marketo API a REST response is sent. We want this rest response in Front End to also contain the status of the user – subscribed or not.
I read the documentation below but I was looking for a specific snippet code to see how it works exactly. Has anybody implemented this?