Skip to main content
POST
Create Campaign with Call Touchpoint

Authorizations

string
required
Enter your ContactSwing JWT Bearer token.

Request Body

string
required
Campaign display name TalentCare Interview
string
Campaign type.
string
The business goal of the campaign.
object
required
The touchpoint object.
string
required
The name of the touchpoint.
string
required
The type of the touchpoint. e.g. CALL.
string
required
The status of the touchpoint. e.g. scheduled.
string
required
ISO 8601 scheduled date for the touchpoint.
integer
required
The ID of the assistant to be used.
object
required
Additional settings for the touchpoint.
string[]
required
Array of days when the campaign will be executed. e.g. ["mon", "tue"]
integer
required
The start hour for the campaign execution.
integer
required
The end hour for the campaign execution.
string
required
The timezone for the campaign execution. e.g. Asia/Kolkata.
string[]
required
The numbers from which the calls will be made.
array
required
An array of customer details objects.
string
required
The customer’s ID.
string
required
The customer’s phone number.
string
required
The number from which the call will be made.

Response

201 Created - Campaign created successfully
string
Request context ID
object
string
Campaign ID
string
Campaign name
string
Campaign status
400 Bad Request - Invalid input