API Campaigns

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.

Create a New Campaign

Navigate to the Campaigns page in your company Braze account and click the Create Campaign button, then select API Campaigns.

Select API Campaigns

Now, you can move on to configuring your API campaign.

Configure Your Campaign

Create API Campaigns

  1. Add a descriptive title so you can find the results on our campaigns page after you’ve sent your messages.
  2. Click the Add Message button 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 campaign_id.
    After you save your API campaign, you must include the generated campaign_id fields with your API request where noted in the Messaging API - Send Endpoint Spec.
  3. You can, optionally, add a conversion event to track user conversions on a specific action or campaign goal.
  4. Click Save Campaign and you’re set to begin your API campaign!
WAS THIS PAGE HELPFUL?
New Stuff!