Remove Customer from Audience
Removes from the audience every customer whose phoneNumber matches the parameter sent.
DELETE https://api.platica.mx/v1/campaigns/{campaignId}/audience/{phoneNumber} URL parameters
| Parameter | Type | Description | Requirement |
|---|---|---|---|
campaignId | string | Unique identifier of the campaign | required |
phoneNumber | string | Phone number of the customer to remove, with country code and no symbols | required |
Response 200 OK
{
"status": "success",
"message": "Client removed from campaign successfully",
"data": {
"success": true,
"message": "Client removed from campaign successfully",
"removedCount": 1
}
} Notes
- Removing a customer from the audience does not delete them from the workspace; it only removes the campaign tag
- If no customer with that
phoneNumberexists, the endpoint responds200withremovedCount: 0 - If multiple customers share the same
phoneNumber, the campaign tag is removed from all of them