I would like to substitute some variables in my email template using SFMC's REST API.

For example, in my email:


When I call it through REST, how it's possible to substitute this variable?

  • 1
    I might need a little more information - is this variable in a data extension? Are you passing this variable at send time? Not quite sure what you are asking. Jan 16, 2014 at 12:49
  • Yes This variable is in data extension and wanted to add it in send time
    – Pravin
    Jan 20, 2014 at 7:55
  • Did this end up answering your question? If so can we get it marked answered? Feb 22, 2014 at 22:52
  • Hi @Pravin - did this question get answered? Just want to make sure we solved your issue here - would you mind checking the mark if so, or possibly update us with any new issues? Mar 24, 2014 at 12:27

1 Answer 1


The REST call to send a triggered message does not provide the ability to update a data extension. It does allow you to update "send time attributes' for a subscriber, and those are passed in as the to: section of the payload:

     "Address":"[email protected]",
     "SubscriberKey":"[email protected]",
           "Region":"West", //passed in at send time
           "City":"Indianapolis", //passed in at send time
           "Substitute_var1":"Value" //passed in at send time

These attributes for the subscriber will need to be created prior to sending.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .