Send Mail with custom template variables

Send Mail with custom template variables

Hi

I'm trying to send an email vie the Send Mail API and want to insert values that replace the variables currently in the email template. for example our reset password template will have

"To reset your password click this link ${<value from API call}"

Is this possible? We are trying to move all our transactional email over from Mandrill (Mailchimp).

Cheers

Dave