Wired Plus API Documentation
Raise a Technical Question with the Support TeamAPI v1 Guide
Account
Automation
Contacts
- Create New Contact
- Update Contact
- Bulk Contact Update
- Archive Contact
- Bulk Archive Contact
- Bulk Suppress Contact
- Unsubscribe Contact
- Resubscribe Contact
- Resubscribe Contact To List
- Suppress Contact
- Get Contacts
- Get New Contacts
- Get Updated Contacts
- Get Contact By Id
- Get Contact By UID
- Get Contact By Email
- Get Contacts In List
- Get Contacts For Campaign
- Get Lists for a Contact
- Get Unsubscribed Contacts
- Get Unsubscribed Contacts In List
- Get Suppressed Contacts
- Delete Contact
Dynamic Rows
Lists
- Create New List
- Update List
- Delete List
- Get List Detail By ID
- Get Active Lists
- Bulk Assign Contacts To List
- Get Contacts In List
- Delete Contact From List
- Bulk Delete Contacts From List
Campaigns
- Get Campaigns
- Get Campaign By Id
- Get Campaign Activities
- Get Campaign Contacts
- Get Campaign Contact Replies
- Get Campaign Contact Send Status
- Get Campaign Event
- Send Trigger Campaign To Contacts
- Send Trigger Campaign To DynamicRows
Transactional Emails
Lead Score
Products
- Get Products
- Get Product
- Create/Update Product
- Delete Product
- Bulk Create/Update Products
- Get Stock Updates
- Create Stock Update
Carts
Orders
- Get Orders
- Get Order
- Create/Update Order
- Delete Order
- Update Order Status
- Bulk Create/Update Orders
- Get Order Events
- Get Order Event
- Create/Update Order Event
Custom Fields
POST GetSuppressedContacts
Retrieves a list of suppressed contacts after a specified date.
Input and output parameters
The input and output parameters for this method are:
*denotes required field.
Input Parameter Name | Type/Info |
startdate* | DateTime. e.g. '2017-08-08 00:00:00' |
withfulldata | value = 'true' or 'false' returns custom fields and log data (suppression info). |
select | integer(1). Number of items to return, maximum of 500 |
skip | integer(1). Number of records to skip |
Outputs: | |
|
Examples
Curl
curl --request POST \
--url https://api.wiredplus.com/v1/GetSuppressedContacts \
--header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
--form 'withfulldata=true' \
--form 'select=10' \
--form 'skip=0' \
--form 'startdate=2015-08-08 16:59:00'
PHP
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiredplus.com/v1/GetSuppressedContacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"withfulldata\"\r\n\r\ntrue\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"select\"\r\n\r\n10\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"skip\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"startdate\"\r\n\r\n2015-08-08 16:59:00\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--",
CURLOPT_HTTPHEADER => array(
"content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
jQuery
var form = new FormData();
form.append("withfulldata", "true");
form.append("select", "10");
form.append("skip", "0");
form.append("startdate", "2015-08-08 16:59:00");
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.wiredplus.com/v1/GetSuppressedContacts",
"method": "POST",
"headers": {},
"processData": false,
"contentType": false,
"mimeType": "multipart/form-data",
"data": form
}
$.ajax(settings).done(function (response) {
console.log(response);
});
Result Format JSON
[
{
"id": "101",
"create_date": "2018-10-02 15:23:12",
"update_date": "2018-10-23 11:15:01",
"first_name": "Ferris",
"last_name": "Bueller",
"name": "Ferris Bueller",
"email": "random1@adomain.com",
"opt_in": "2",
"opt_in_date": "2018-10-10 23:04:19",
"status": "Unsubscribed",
"error_log": "Unsubscribed - Campaign Oct #1",
"error_date": "2018-10-23 11:15:01"
},
{
"id": "102",
"create_date": "2018-10-14 10:34:53",
"update_date": "2018-10-19 18:44:05",
"first_name": "Sawyer",
"last_name": "Tom",
"name": "Sawyer Tom",
"email": "random2@adomain.com",
"opt_in": "1",
"opt_in_date": "",
"status": "Dropped",
"error_log": "Bounced - Campaign Oct #2",
"error_date": "2018-10-23 11:15:01"
}
]