Add Campaign Data (Basic Authentication)

Body Params
string
required

Name of the campaign where the data is to be added.

string
required

The phone number to be added.

string

Optional name of the lead. Could be any of your choice.

string

The action to be performed. Pass 'start' to start campaign after data is added.

string

Associated skill name.

integer
1 to 99

Priority of the number. Higher values are dialed sooner (1-99).

string

Agent ID, if agent-wise campaign.

date-time

Expiry date of the lead in YYYY-MM-DD HH:MM:SS format.

boolean

Pass true to check for duplicate phone numbers.

string
required

Your CloudAgent account username.

boolean

Pass true to skip name field validation.

string

Custom field 1 for additional data.

string

Custom field 2 for additional data.

string

Custom field 3 for additional data.

Headers
string
required

API key available from CloudAgent admin panel.

string
required

Should be set to application/json.

Response

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json