Skip to main content
Create Campaign

Headers

string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Body Parameters

string
required
The name of the campaign.
string
required
A brief description of the campaign’s purpose.
string
required
The type of campaign (e.g., emi, edi, lead).
string
The ID of the workflow to associate with this campaign.
string
required
Start date in YYYY-MM-DD format.
string
required
Start time in HH:MM format (24-hour).
string
required
End date in YYYY-MM-DD format.
string
required
End time in HH:MM format (24-hour).
string[]
required
List of languages supported in this campaign (e.g., ["english", "hindi"]).
string
required
Target region for the campaign (e.g., north).
string[]
Tags for categorization (e.g., ["priority", "q1"]).
array
required
Array of customer objects. The required fields within these objects change based on your campaign focus.
Identifier RequirementDepending on your campaign type, you must provide either a loan_id (for Debt Collection) or a lead_id (for Lead Generation). Requests missing both will return a 400 Bad Request.
Use this structure if you are managing existing loans.

Response

boolean
Indicates if the creation was successful.
string
A confirmation message.
object
string
The error type or code (Error responses only).