Get Monitor Alerts
curl --request GET \
--url https://api.campaigncleaner.com/v1/monitor_get_alertsimport requests
url = "https://api.campaigncleaner.com/v1/monitor_get_alerts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.campaigncleaner.com/v1/monitor_get_alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.campaigncleaner.com/v1/monitor_get_alerts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.campaigncleaner.com/v1/monitor_get_alerts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.campaigncleaner.com/v1/monitor_get_alerts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.campaigncleaner.com/v1/monitor_get_alerts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"alerts": [
{
"alert_id": 4,
"kind": "spam",
"description": "Mail from example.com at Gmail lands in spam",
"domain_id": 12,
"domain": "example.com",
"provider_key": "gmail.com",
"provider": "Gmail",
"threshold": null,
"min_messages": null,
"delivery": "instant",
"recipients": [
{
"email": "ops@example.com",
"receiving": true
}
],
"enabled": true
}
],
"recent": [
{
"event_id": 77,
"alert_id": 4,
"kind": "spam",
"status": "open",
"domain": "example.com",
"provider": "Gmail",
"provider_key": "gmail.com",
"message_count": 3,
"detail": "Spam: October offers",
"opened_at": "2026-10-20T11:31:04Z",
"last_seen_at": "2026-10-20T11:40:12Z",
"resolved_at": null
}
],
"account_owner_email": "you@example.com",
"max_alerts": 20
}Inbox Placement Monitor
Get Monitor Alerts
The monitor_get_alerts API returns your alert rules and the 50 most recent alerts. Each problem is reported once per domain and provider and is resolved when mail lands in the inbox again.
Header:
X-CC-API-Key: Your API Key
Response:
- alerts: Your alert rules (fields as in monitor_save_alert, plus alert_id and description). Each recipient has receiving (false when the address no longer qualifies, e.g. the person left your team; the account owner gets those alerts instead).
- recent: event_id, alert_id, kind, status (open/resolved), domain, provider, provider_key, message_count, detail, opened_at, last_seen_at, resolved_at.
- account_owner_email, max_alerts.
GET
/
v1
/
monitor_get_alerts
Get Monitor Alerts
curl --request GET \
--url https://api.campaigncleaner.com/v1/monitor_get_alertsimport requests
url = "https://api.campaigncleaner.com/v1/monitor_get_alerts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.campaigncleaner.com/v1/monitor_get_alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.campaigncleaner.com/v1/monitor_get_alerts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.campaigncleaner.com/v1/monitor_get_alerts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.campaigncleaner.com/v1/monitor_get_alerts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.campaigncleaner.com/v1/monitor_get_alerts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"alerts": [
{
"alert_id": 4,
"kind": "spam",
"description": "Mail from example.com at Gmail lands in spam",
"domain_id": 12,
"domain": "example.com",
"provider_key": "gmail.com",
"provider": "Gmail",
"threshold": null,
"min_messages": null,
"delivery": "instant",
"recipients": [
{
"email": "ops@example.com",
"receiving": true
}
],
"enabled": true
}
],
"recent": [
{
"event_id": 77,
"alert_id": 4,
"kind": "spam",
"status": "open",
"domain": "example.com",
"provider": "Gmail",
"provider_key": "gmail.com",
"message_count": 3,
"detail": "Spam: October offers",
"opened_at": "2026-10-20T11:31:04Z",
"last_seen_at": "2026-10-20T11:40:12Z",
"resolved_at": null
}
],
"account_owner_email": "you@example.com",
"max_alerts": 20
}Headers
Response
200 - application/json
OK
The response is of type object.

