REST API for Email Template Field Attributes | Community
Skip to main content
December 11, 2015
Question

REST API for Email Template Field Attributes

  • December 11, 2015
  • 1 reply
  • 1285 views

Hello,

I am working on a connector that integrates a CMS solution to Marketo.  One of my objectives is to be able to manage Email templates in the CMS and then use the REST API to push to Marketo.  I basically have it working but one thing I am missing.  I would like to get access to the Lead and Company Attributes that are available to the end user when editing the Email Template in Marketo.  Let me know if there is an api available to get access to these attributes.

Sajid

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kenny_Elkington
Adobe Employee
Adobe Employee
December 11, 2015

You're looking for Describe Lead​.  You can interpolate the display name of the response with {{lead.<display name>}} for the tokens you wish to insert.

December 17, 2015

Sorry for the late response.  I reviewed the Lead Describe, /rest/v1/leads/describe.json, rest call but the number of items returned are more than the email field attributes.  Also, the email field attributes are broken into Lead and Company.  So, I am not if this is going to work.

Examples:

{{lead.Postal Code:default=edit me}}

{{company.Billing City:default=edit me}}