Re: How to update button text of an Email via Rest API?

Himanshu_lahare
Level 1

How to update button text of an Email via Rest API?

Marketo Rest Endpoint for Email content doesn't contain any data about the buttons in the modules and I couldn't find any endpoint for doing CRUD in modules.

We are working on a translation solution but for the Buttons we are stuck.

If its not possible via REST API what are the other ways or strategies we can can use to update the Button's text?

3 REPLIES 3
PeeyushSachdeva
Level 3

Re: How to update button text of an Email via Rest API?

@Himanshu_lahare Try using tokens (e.g., {{my.tokenName}}) for the button text. You can then update the token value through the REST API.

EllenSchwier
Level 5

Re: How to update button text of an Email via Rest API?

This would be my solution as well. 

SanfordWhiteman
Level 10 - Community Moderator

Re: How to update button text of an Email via Rest API?

Not sure I’d be going for a {{my.token}} here as that’ll apply to all emails in program or folder.

 

A ${mktoVariable} is what I’d use for button text if it’s going to be updated via API anyway, that is, if the permission structure of tokens vs. variables doesn’t matter.