Outbound Campaign Delete

Use this API to delete an outbound campaign within your CloudAgent account.

In the BODY PARAMS provide the following required parameters.

❗️

Note:

Parameters with ‘*’ are mandatory parameters.

Parameter (newKey)Description (New value)
username*Provide the CloudAgnet account name
campaignName*Name of the campaign to be deleted
apiKey*Provide the API key of your account. Available in CloudAgent after admin login
action*To delete a campaign - "delete"
campaignType*"Preview" / "Progressive" / "IVR" / "Predictive"

Possible Responses

Deleting the campaign while the campaign is in Running state"{
""Message"": ""Please change the campaign status to Ready or Completed to delete the campaign.""
}"
Deleting the campaign while the campaign is in Ready state"{
""Message"": ""Campaign XXXXXX deleted Successfully.""
}"
Deleting the campaign while the campaign is in Completed state"{
""Message"": ""Campaign XXXXX deleted Successfully.""
}"
If the campaign is not available."{
""Message"": ""Campaign not found.""
}"
Language
URL
Click Try It! to start a request and see the response here!