POST
/
campaigns
/
{id}
/
start

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

Response

200 - application/json
consumed_message_segments
object
required

The number of message segments actually used by the campaign

email_address
string | null
required

The email address used to send emails in the campaign. Will be the ID of an email-like object

enrolled_customers
required

The customers enrolled in the campaign

estimated_message_segments
object
required

The number of message segments estimated to be used by the campaign

id
string
required

The ID of the campaign

name
string
required

The name of the campaign

phone_number
string | null
required

The phone number used to send SMS messages in the campaign. Will be the ID of a phone number-like object

scheduled_at
string | null
required

The time when the campaign is scheduled to start in ISO 8601 format

segment
string | null
required

The segment attached to the campaign

statistics
object
required

The statistics of the campaign. Includes information about the number of customers enrolled and their status in the campaign

status
string
required

The status of the campaign. One of "draft", "scheduled", "started", or "stopped"

steps
object[]
required

The steps of the campaign