Skip to content

Duplicate campaigns via API

post

/campaigns/duplicate

Use this endpoint to duplicate campaigns. This API endpoint is similar to duplicating campaigns in the Braze dashboard.

Prerequisites

To use this endpoint, you’ll need to generate an API key with the campaigns.duplicate permission.

Rate limit

This endpoint is limited to 100 API calls per minute.

Request body

1
2
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
1
2
3
4
5
{
  "campaign_id": (required, string) The campaign identifier,
  "name": (required, string) The name of the resulting campaign,
  "description": (optional, string) The description of the resulting campaign,
}

Request parameters

Parameter Required Data Type Description
campaign_id Required String See campaign identifier.
name Required String The name of the resulting campaign.
description Optional String The description field for the resulting campaign.

Response

This endpoint will return a 202 status code, and the campaign creation will occur asynchronously. You can use the Security event download to see records of when campaigns were duplicated and by which API key.

HOW HELPFUL WAS THIS PAGE?
New Stuff!