> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Braze

> Connect Voucherify with Braze to deliver incentives, sync customer data, and trigger messages based on promotion events

Voucherify handles incentive logic: code generation, validation, redemption, and budget control. Braze handles delivery: timing, channel selection, and message personalization. Together, they let you distribute the right incentive at the right time through the right channel.

## Integration options

The Braze integration supports four patterns for moving data between the platforms. Each pattern serves a different use case.

![Braze integration architecture](https://mintcdn.com/voucherify/ro02TV7CtHMTDmH9/images/docs/braze-integration-architecture.png?fit=max\&auto=format\&n=ro02TV7CtHMTDmH9\&q=85\&s=9b2cd5d49ebb0a639a9677cdcc77232b)

| Pattern | Direction | What it does |
| - | - | - |
| **[Connected Content](https://docs.voucherify.io/integrations/braze-connected-content-overview)** | Braze calls Voucherify | Fetches codes, balances, or gift card data from Voucherify at message send time. Best for real-time personalization. |
| **[Custom attributes](https://docs.voucherify.io/integrations/braze-custom-attributes.md)** | Voucherify pushes to Braze | Stores codes and promotion data on Braze user profiles via distributions. Best for pre-assigning codes before a campaign. |
| **[Promotion code lists](https://docs.voucherify.io/integrations/braze-promotion-codes.md)** | Manual export/import | Exports codes from Voucherify in bulk and imports them into Braze promotion code lists. Best for large-scale, one-time distributions. |
| **[Event streaming](https://docs.voucherify.io/integrations/stream-events-to-braze.md)** | Voucherify pushes to Braze | Sends promotion events (redemptions, publications, legacy loyalty updates) to Braze. Best for triggering follow-up messages based on customer activity. For loyalty programs, use [Workflows](https://docs.voucherify.io/integrations/workflows). |

You can also [send data from Braze to Voucherify](https://docs.voucherify.io/integrations/send-data-from-braze.md) using Canvas webhooks to sync customer segments or forward Braze events as Voucherify custom events.

> [!NOTE]
>
> The Braze integration supports two-way data exchange between Braze and Voucherify.
>
> * Data sent from Braze to Voucherify, including custom attributes and audience sync, consumes **[webhook limits](https://docs.voucherify.io/guides/limits.md#webhooks)**.
> * Connected Content requests from Braze to Voucherify consume **[API limits](https://docs.voucherify.io/guides/limits.md#api-limits)**.
> * Events sent from Voucherify to Braze do not consume API call or webhook limits.
>
> Plan your campaign volumes accordingly.

## What you need to connect with Braze

Voucherify and Braze communicate both ways. You need credentials configured in each platform.

### Connect Voucherify with Braze

This connection lets Voucherify push events and custom attributes to Braze.

**1. Copy the Braze REST API key**

In your Braze account, create or locate a REST API key with at least the `users.track` permission.

**2. Add the key in Voucherify**

In Voucherify, go to **Home** > **Integrations**, find **Braze**, and click **Connect**. Paste the REST API key, select the Braze API endpoint for your region, and enable **Send events to Braze**.

### Connect Braze with Voucherify

This connection lets Braze call Voucherify APIs for Connected Content, Canvas webhooks, and other API-based integrations.

**1. Generate integration keys in Voucherify**

In **Home** > **Project Settings**, scroll to **Integration keys** and click **+**. Name your key, assign a role, and select **Braze** from the integration list. Click **Create integration API**.

**2. Save your credentials**

Copy the **Application ID** and **Secret key**. You will not be able to view the secret key again.

**3. Use credentials in Braze**

Add the Application ID and Secret key to your Braze Connected Content scripts, Canvas webhook headers, or other integration settings that require Voucherify authentication.

## Rate limiter

When configuring campaigns in Braze, [limit the number of messages](https://www.braze.com/docs/user_guide/engagement_tools/campaigns/building_campaigns/rate-limiting/#delivery-speed-rate-limiting) sent per minute. This helps prevent excessive traffic to Voucherify API endpoints used by Braze campaigns and Connected Content requests.

Set the sending rate according to your Voucherify [API rate limits](https://docs.voucherify.io/guides/limits.md#api-limits). When calculating the limit, account for other API consumers in your project.

## Next steps

Explore the following pages to match Voucherify to your Braze use cases.

> [card] [Connected Content](https://docs.voucherify.io/integrations/braze-connected-content-overview)
>
> Fetch codes and loyalty card data (legacy loyalty) from Voucherify at send time.

> [card] [Stream events to Braze](https://docs.voucherify.io/integrations/stream-events-to-braze.md)
>
> Use Voucherify events to trigger action-based delivery in Braze.

> [card] [Send data from Braze](https://docs.voucherify.io/integrations/send-data-from-braze.md)
>
> Sync customer segments and forward events to Voucherify with Canvas webhooks.

> [card] [Custom attributes](https://docs.voucherify.io/integrations/braze-custom-attributes.md)
>
> Push codes to Braze user profiles with Voucherify distributions.

> [card] [Promotion code lists](https://docs.voucherify.io/integrations/braze-promotion-codes.md)
>
> Export codes in bulk and import them into Braze.

> [card] [Speedrun loyalty with Braze](https://www.voucherify.io/blog/speedrunning-loyalty-without-leaving-braze)
>
> Learn how to tweak and experiment in Voucherify to gain even better results with your Braze campaigns.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.