Empty Campaign Audience

Empties the entire audience of a campaign. This endpoint does not delete customers from the workspace; it only removes the internal campaign tag from every associated contact.

DELETE https://api.platica.mx/v1/campaigns/{campaignId}/audience

URL parameters

ParameterTypeDescriptionRequirement
campaignIdstringUnique identifier of the campaignrequired

Response 200 OK

{
  "status": "success",
  "message": "All clients removed from campaign successfully",
  "data": {
    "success": true,
    "message": "All clients removed from campaign audience successfully",
    "removedCount": 245
  }
}

Notes

  • If the audience is already empty, the operation responds 200 with removedCount: 0.
  • This endpoint does not delete customer documents from the workspace.