Get Monitor Domains
curl --request GET \
--url https://api.campaigncleaner.com/v1/monitor_get_domainsimport requests
url = "https://api.campaigncleaner.com/v1/monitor_get_domains"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.campaigncleaner.com/v1/monitor_get_domains', 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_domains",
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_domains"
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_domains")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.campaigncleaner.com/v1/monitor_get_domains")
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{
"domains": [
{
"domain_id": 12,
"domain": "example.com",
"purpose": "monitor",
"status": "verified",
"created_at": "2026-10-18T14:02:11Z",
"verified_at": "2026-10-18T14:20:45Z",
"last_checked_at": "2026-10-20T03:00:12Z",
"message_count": 214
},
{
"domain_id": 13,
"domain": "news.example.com",
"purpose": "monitor",
"status": "pending",
"created_at": "2026-10-20T09:15:00Z",
"verified_at": null,
"last_checked_at": null,
"message_count": 0,
"dns_record": {
"type": "TXT",
"host": "_cc-verify.news.example.com",
"value": "cc-verify=3f9c0b1e7a5d4c2e9b8a7f6e5d4c3b2a"
}
}
],
"limits": {
"monitored_domains_used": 2,
"monitored_domains_max": 5,
"alert_domains_used": 0,
"alert_domains_max": 5
}
}Inbox Placement Monitor
Get Monitor Domains
The monitor_get_domains API lists the domains on your account, their verification status, and your limits. Only mail sent From a verified domain (or one of its subdomains) is recorded.
Header:
X-CC-API-Key: Your API Key
Response:
- domains:
- domain_id: The ID used by the other domain endpoints.
- domain: The domain name.
- purpose: monitor (mail sent from it is tracked) or alerts (verified only so alerts can be sent to addresses at it, e.g. your company domain; it is not tracked and doesn’t count toward your monitored domains).
- status: pending (publish the dns_record, then call monitor_verify_domain), verified, or stopped (the DNS record was removed; remove the domain and add it again).
- created_at, verified_at, last_checked_at: UTC times.
- message_count: Messages stored for the domain (last 30 days).
- dns_record: Only for pending domains: type (TXT), host and value to publish.
- limits: monitored_domains_used, monitored_domains_max, alert_domains_used, alert_domains_max (null = no limit).
GET
/
v1
/
monitor_get_domains
Get Monitor Domains
curl --request GET \
--url https://api.campaigncleaner.com/v1/monitor_get_domainsimport requests
url = "https://api.campaigncleaner.com/v1/monitor_get_domains"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.campaigncleaner.com/v1/monitor_get_domains', 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_domains",
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_domains"
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_domains")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.campaigncleaner.com/v1/monitor_get_domains")
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{
"domains": [
{
"domain_id": 12,
"domain": "example.com",
"purpose": "monitor",
"status": "verified",
"created_at": "2026-10-18T14:02:11Z",
"verified_at": "2026-10-18T14:20:45Z",
"last_checked_at": "2026-10-20T03:00:12Z",
"message_count": 214
},
{
"domain_id": 13,
"domain": "news.example.com",
"purpose": "monitor",
"status": "pending",
"created_at": "2026-10-20T09:15:00Z",
"verified_at": null,
"last_checked_at": null,
"message_count": 0,
"dns_record": {
"type": "TXT",
"host": "_cc-verify.news.example.com",
"value": "cc-verify=3f9c0b1e7a5d4c2e9b8a7f6e5d4c3b2a"
}
}
],
"limits": {
"monitored_domains_used": 2,
"monitored_domains_max": 5,
"alert_domains_used": 0,
"alert_domains_max": 5
}
}Headers
Response
200 - application/json
OK
The response is of type object.

