API reference/monitors

Re-verify a monitored list now

POST/api/v1/email/monitors/{monitorId}/run

authentication
Secret API key as a bearer token
billing
The run bills every address like a single lookup; suppressed addresses and 7-day repeats are free.

Queues a run right away instead of waiting for the schedule; when it finishes, the next scheduled run is set one cadence from then. Answers 202 with the monitor as it stands before the run; poll it for the new last_run_at, last_summary and results. A monitor that belongs to another account answers 404.

Parameters

name in type description
monitorIdrequiredpathintegerThe monitor's id from the list endpoint.

Example request

curl -X POST https://spaw.co/api/v1/email/monitors/41/run \
  -H "Authorization: Bearer sk_live_…"
const response = await fetch('https://spaw.co/api/v1/email/monitors/41/run', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk_live_…',
  },
});
const result = await response.json();
import requests

response = requests.post(
    'https://spaw.co/api/v1/email/monitors/41/run',
    headers={'Authorization': 'Bearer sk_live_…'},
)
result = response.json()
$ch = curl_init('https://spaw.co/api/v1/email/monitors/41/run');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer sk_live_…'],
]);
$result = json_decode(curl_exec($ch), true);

Responses

202The run was queued.

{
    "success": true,
    "data": {
        "monitor": {
            "id": 41,
            "name": "Newsletter list",
            "cadence": "weekly",
            "email_count": 2,
            "next_run_at": "2026-09-10T08:00:00+00:00",
            "last_run_at": "2026-09-03T08:00:12+00:00",
            "last_summary": {
                "deliverable": 1,
                "risky": 1,
                "undeliverable": 0,
                "decayed": 0,
                "credits_used": 2,
                "stopped_reason": null
            },
            "created_at": "2026-08-27T08:00:00+00:00"
        }
    }
}

401The key is missing, malformed, or revoked.

{
    "success": false,
    "error": {
        "code": "UNAUTHENTICATED",
        "message": "Provide a valid API key as a bearer token.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}

404No such record on this account.

{
    "message": "Not Found"
}

429Over 5 requests per second for the key. Retry after the limit resets.

{
    "success": false,
    "error": {
        "code": "RATE_LIMITED",
        "message": "Too many requests. Retry after the limit resets.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}

Error codes

Failures answer { success: false, error: { code, message, request_id } }. Each code has its own page.

markdown version·openapi.json