Add Campaign Data (Basic Authentication)Ask AIpost https://{domainname}/ca_apis/AddCampaignDataBody ParamscampaignNamestringrequiredName of the campaign where the data is to be added.phoneNumberstringrequiredThe phone number to be added.namestringOptional name of the lead. Could be any of your choice.actionstringThe action to be performed. Pass 'start' to start campaign after data is added.skillstringAssociated skill name.priorityinteger1 to 99Priority of the number. Higher values are dialed sooner (1-99).agentIdstringAgent ID, if agent-wise campaign.expiryDatedate-timeExpiry date of the lead in YYYY-MM-DD HH:MM:SS format.checkDuplicatebooleanPass true to check for duplicate phone numbers.truetruefalseuserNamestringrequiredYour CloudAgent account username.skipNameFieldValidationbooleanPass true to skip name field validation.falsetruefalseCustomFields1stringCustom field 1 for additional data.CustomFields2stringCustom field 2 for additional data.CustomFields3stringCustom field 3 for additional data.HeadersapiKeystringrequiredAPI key available from CloudAgent admin panel.Content-TypestringrequiredShould be set to application/json.Response 200Successful responseUpdated 4 months ago