AnsweredAssumed Answered

Marketo tokens in API calls

Question asked by 16532 on Jul 18, 2013
Latest reply on Jul 22, 2013 by 22662

I want to use Marketo lead tokens in the body part I'm sending with my token:

$tokens[] = new Attrib("{{my.Email Body}}","'this {{lead.First Name}} is {{lead.Last Name}} email body");

Is there a way I can use any of the Marketo tokens as placeholder in my message. This code will run in loop so don't want to use getMultipleLeads.