The API allows you to delete data from multiple campaigns in your account.
Note:
Make sure the admin setting 'API Authentication' is set to 'BASIC_AUTH', If you are using this API.
Pass the body parameters in the below format.
{
"userName": "Your account User name",
"phoneNumber": [
1234567890,
1234567890,
1234565432,
][
1234567890,
1234567890,
1234565432,
],
"campaignName": [
"Campaign Name 1",
"Campaign Name 2",
"Campaign Name 3"
][
"Campaign Name 1",
"Campaign Name 2",
"Campaign Name 3"
]
}
Content-Type should be 'application/json'
Rate Limit:
- A maximum of 2 requests are allowed per minute.
- New request will not be accepted until the current one gets processed.
- Up to 100 phone numbers or 100 campaign names can be processed per request.
- Data will be deleted regardless of the lead status.
- If even one campaign name is invalid, the API will throw an error.
Possible responses
Passing Invalid userName Key | "{""status"": ""false"",""message"": ""Username Should Not be Null or Empty."", |
Passing Invalid userName Value | {"status": "false","message": "Invalid User Details","data": null} |
Passing Invalid phoneNumber Key | "{ |
Missing phoneNumber key | "{ |
Passing Invalid campaignName Key | "{ |
Missing campaignName key | "{ |
Missing campaignName Value | "{ |
If hit more than 2 times in a minute. | { |
Passing more than 100 numbers | "{ |
Passing more than 100 CampaignNames. | "{ |