Warning! Use this API endpoint with care. Forgetting permanently affects subscribers and their statistics.

POST method must be used for this query.


Request body must contain list of email addresses either as a JSON array (preferred; Content-Type: application/json must be used) or an URLencoded query string.

Example query

Query to forget and

$username = 'YOUR_USERNAME';
$password = 'YOUR_PASSWORD';
$location = 'https://<subdomain>';
$query = json_encode(array(

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $location);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $query);
curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  'Content-Type: application/json',

$result = curl_exec($ch);

Response of successful query

  'code': 101,
  'message': 'OK'