Skip to main content
Braze Connected Content allows you to fetch data from the Voucherify API and display it in your Braze messages. You can publish coupons, invite new referrers, retrieve loyalty card balances, and more.
Experiment with connected content examplesHead over to Voucherify’s Github repository to see examples of connected content scripts.

How does it work?

A basic schema of the script looks as follows:
Connected content basic schema
  {% connected_content
    "voucherify-API-ENDPOINT-url" // Selected Voucherify endpoint
    :method post //HTTP method
    :headers {
      "X-App-Id": "Voucherify-API-key", //Unique Voucherify API key for authentication
      "X-App-Token": "Voucherify-Secret-key" //Unique Voucherify API token for authentication
    }
    :content_type application/json
    :retry
    :save {{result_variable}} //Variable storing the result (Voucherify API response)
  %}

Next steps

Last modified on March 13, 2026