Hi,
We are an events platform company that is building integration with Marketo.
As a part of the integration, we would like users to select which "Program Member Status" should be updated for a lead at different trigger points available in our system (e.g. Registers for the event, Attends the event, etc.)
We already know the Program name and ID for which the member status should be updated for. We would like to fetch ALL available statuses for a program (or channel), so that user can select that in our platform UI while setting up the integration.
Can someone help us with which API can provide a list of all statuses available for that Program?
Solved! Go to Solution.
You could use the Get Channels by Name API endpoint to get channel statuses as the Query Programs endpoint doesn't return the individual channel statuses, it just returns the program channel in the response. Make sure you don't make direct API calls to Marketo from the front end as that'd open up a massive vulnerability as you'll expose the API credentials to the world, rather make the calls securely via a backend server w/o exposing any creds on the client side.
You could use the Get Channels by Name API endpoint to get channel statuses as the Query Programs endpoint doesn't return the individual channel statuses, it just returns the program channel in the response. Make sure you don't make direct API calls to Marketo from the front end as that'd open up a massive vulnerability as you'll expose the API credentials to the world, rather make the calls securely via a backend server w/o exposing any creds on the client side.
Thanks, Darshil. This worked for us.