How to update button text of an Email via Rest API? | Community
Skip to main content
Level 1
August 7, 2025
Question

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

  • August 7, 2025
  • 2 replies
  • 501 views

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?

2 replies

PeeyushSachdeva
Level 4
August 7, 2025

@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 4
August 18, 2025

This would be my solution as well. 

SanfordWhiteman
Level 10
August 19, 2025

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.