Campaigns sent through the Messaging API can have the same detailed reporting and retargeting options as campaigns created on the dashboard. This section of the documentation will detail how to generate a
campaign_id to include in your API calls and take advantage of this feature.
Step 1: Click “API Campaigns” on the “Campaigns” page
Navigate to the Braze Campaigns page in your company dashboard and click “Create Campaign” then click “API Campaigns”
Step 2: Configuring API Campaigns
- Add a descriptive title so you can find the results on our campaigns page after you’ve sent your messages.
- Click the “Add Message” button and add the messages types which will be included in your API campaign.
- Optionally add a conversion event to track user conversions on a specific action or campaign goal.
- Click “Save Campaign” and you’re set to begin your API campaign.
- Include the generated
campaign_idfields with your API request where noted in the Messaging API - Send Endpoint Spec