Skip to main content
Level 4
Jan 23, 2023 6:03 PM UTC
Solved

Get Marketo Unique Code via REST API

Hi, 

is there a field name to get marketos Unique Code via Rest API? E. g. using the Lead lookup endpoint /rest/v1/leads.json and retraive the unicque code via the field parameter "&fields=id,firstName,marketoUniqueCode"? (marketoUniqueCode ist not working 😉 )

 

Unfortunately I wasn't able to finde something about this in the documentation nor in an old threat. 

 

Thanks and kind regards
Wolfram

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Darshil_Shah1
Darshil_Shah1Accepted solution
Adobe Champion, Community Advisor, UG Leader
Jan 23, 2023 6:21 PM UTC

The Describe endpoint that retrieves the complete list of the fields available for interaction via API doesn't include the Marketo Unique Code field in the response, which indicates that the MUC field isn't available for querying via the API (I'd love to know if there's a way around it though). By the way, you can always export the MUC from a list in Marketo if that suits your use case.

 

4 replies

Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Darshil_Shah1Adobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Jan 23, 2023 6:21 PM UTC

The Describe endpoint that retrieves the complete list of the fields available for interaction via API doesn't include the Marketo Unique Code field in the response, which indicates that the MUC field isn't available for querying via the API (I'd love to know if there's a way around it though). By the way, you can always export the MUC from a list in Marketo if that suits your use case.

 

Translate
Level 4
Jan 23, 2023 6:56 PM UTC

Hi @darshil_shah1 , 

thank you. To bad. It would have been very helpful. 

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Jan 23, 2023 8:46 PM UTC

We keep it mirrored to a custom field using a daily SC.

Translate