messageFieldObject

Any field data you use in a message must be smaller than 1 MB.

Name Type Required Comments
name string Yes The name of the API message tag. API message tags can be placed in the body or subject line of an email message; prepend ‘#’, as in “%%#tag_name%%“). When you reference the name of an API message tag via the API, be sure to leave off the “%%# %%” portion of the API message tag. For example, name => tag_name, rather than name => %%#tag_name%%. Loop tags use a slightly different syntax (%%#tagname_#%%) and can only be added to the body of an email message. When you reference the name of a Loop tag via the API, be sure to leave off the “%%# %%” portion of the Loop tag, and replace the underscore “_#” with an underscore followed by a number. For an example of how to use Loop tags, see the code example on the addDeliveries page.
type string Yes The version of the message into which API message tag content should be inserted{text or html}.
content string Yes The value being inserted into the body of the message via the API message tag.Links included the content of a messageFieldObject are Dynamic Links as opposed to Static links which are included in the message content. When you insert dynamic links in messages via the API, Bronto will only track up to 30 dynamic links for single send messages and up to 10 for bulk messages. If it’s important to track all dynamic links, add links directly to the design of the message in Bronto.