This reference article covers how to generate a
campaign_idto include in your API calls and how to configure that campaign.
Campaigns sent through the Messaging API can have the same detailed reporting and retargeting options as campaigns created on the dashboard.
Create a New Campaign
Navigate to the Campaigns page in your company Braze account and click the
Create Campaign button, then select
Now, you can move on to configuring your API campaign.
Configure Your Campaign
- Add a descriptive title so you can find the results on our campaigns page after you’ve sent your messages.
- Click the
Add Messagebutton and add the messages types which will be included in your API campaign. This will create a
Message Variation ID, which will serve as your
After you save your API campaign, you must include the generated
campaign_idfields with your API request where noted in the Messaging API - Send Endpoint Spec.
- You can, optionally, add a conversion event to track user conversions on a specific action or campaign goal.
Save Campaignand you’re set to begin your API campaign!