Skip to main content
POST
Create a campaign draft from a campaign template

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the campaign template

Body

application/json
business
string
required

The business ID

Response

200 - application/json

The created Campaign object

name
string
required

The name of the campaign

enrolled_customers
required

The customers enrolled in the campaign

segment
string | null
required

The segment attached to the campaign

steps
object[]
required

The steps of the campaign