Trigger Properties Object Specification

When using one of the endpoints for sending a campaign with API Triggered Delivery, you may provide a map of keys and values to customize your message.

If you make an API request that contains an object in "trigger_properties", the values in that object can then be referenced in your message template under the api_trigger_properties namespace.

For example, a request with the following could add the word "shoes" to a message by adding {{api_trigger_properties.${product_name}}}.

1
2
3
4
"trigger_properties" : {
  "product_name" : "shoes",
  "product_price" : 79.99
  }
WAS THIS PAGE HELPFUL?
New Stuff!