Overview

This request lists all transactional suppressions. These include bounce, user, unsubscribe, etc. All types of transactional suppressions. 

The response will provide a listing of 100 transactional suppressions per page. The maximum number of items you can query per page is 2000 using the count parameter. 

The Method

API-Method
RESTGEThttps://[Your URL]/api/2.0/trans_suppressions/

Parameters

Property TypeDescriptionDefaultRequiredRead Only
$pageintegerPage number1NoNo
$count integerNumber of suppressions. Maximum is 2000.100NoNo
$orderstringName of the field to order with.trans_suppressed_dateNoNo
$directionstringDirection of orderingASC (Ascending)NoNo

Code Samples

Example Request

 "https://[your url]/api/2.0/trans_suppressions/ 
  CURLOPT_RETURNTRANSFER => true, 
  CURLOPT_ENCODING => "", 
  CURLOPT_MAXREDIRS => 10, 
  CURLOPT_TIMEOUT => 0, 
  CURLOPT_FOLLOWLOCATION => true, 
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, 
  CURLOPT_CUSTOMREQUEST => "GET", 
  CURLOPT_POSTFIELDS =>"", 
  CURLOPT_HTTPHEADER => array( 
    "Authorization: Basic [base64 encoded string of username and password]", 
    "Content-Type: application/json",  ), 
)); 
  
$response = curl_exec($curl); 
curl_close($curl); 
echo $response;

Example Response