List Deliverability Incidents
curl --request GET \
--url https://api.lemlist.com/api/deliverability/incidents \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/deliverability/incidents"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/deliverability/incidents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/deliverability/incidents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/deliverability/incidents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"incidents": [
{
"_id": "dli_A1B2C3D4E5F6G7H8J",
"userId": "usr_Example3Hd8Pv5Rt1",
"userMailboxId": "usm_FakeQ4Lz7Nb2Xc9Vj",
"mailboxEmail": "john@example.com",
"type": "dnsIssue",
"state": "active",
"message": "SPF record missing for example.com\nDMARC record missing for example.com",
"openedAt": "2026-10-07T16:23:00.000Z"
}
],
"total": 1
}
}{
"error": "Invalid query parameters: check type, state, userId, since, until, limit and skip.",
"code": "DELIVERABILITY_INCIDENT_INVALID_INPUT"
}{
"error": "Route unauthorized",
"code": "ROUTE_UNAUTHORIZED"
}{
"error": "Beta is not enabled",
"code": "BETA_NOT_ENABLED"
}{
"error": "Route bad method",
"code": "ROUTE_BAD_METHOD"
}{
"error": "Internal error",
"code": "INTERNAL_ERROR"
}Deliverability alerts
List Deliverability Incidents
Lists your team’s deliverability incidents, newest first, active and resolved.
GET
/
deliverability
/
incidents
List Deliverability Incidents
curl --request GET \
--url https://api.lemlist.com/api/deliverability/incidents \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/deliverability/incidents"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/deliverability/incidents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/deliverability/incidents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/deliverability/incidents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"incidents": [
{
"_id": "dli_A1B2C3D4E5F6G7H8J",
"userId": "usr_Example3Hd8Pv5Rt1",
"userMailboxId": "usm_FakeQ4Lz7Nb2Xc9Vj",
"mailboxEmail": "john@example.com",
"type": "dnsIssue",
"state": "active",
"message": "SPF record missing for example.com\nDMARC record missing for example.com",
"openedAt": "2026-10-07T16:23:00.000Z"
}
],
"total": 1
}
}{
"error": "Invalid query parameters: check type, state, userId, since, until, limit and skip.",
"code": "DELIVERABILITY_INCIDENT_INVALID_INPUT"
}{
"error": "Route unauthorized",
"code": "ROUTE_UNAUTHORIZED"
}{
"error": "Beta is not enabled",
"code": "BETA_NOT_ENABLED"
}{
"error": "Route bad method",
"code": "ROUTE_BAD_METHOD"
}{
"error": "Internal error",
"code": "INTERNAL_ERROR"
}Alert types turned off in your team’s Notifications settings (Deliverability > Alerts) are never returned. Resolved incidents are kept 90 days.
This endpoint is in closed beta. It answers
403 with the code BETA_NOT_ENABLED unless the deliverability incidents beta is enabled for your team.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
Only incidents of this type.
Available options:
dnsIssue, mailboxDisconnected, lemwarmDisconnected, lemwarmPaused active: the issue is still there. resolved: it cleared. Omit for both.
Available options:
active, resolved Only incidents on mailboxes owned by this teammate.
Only incidents detected at or after this date or instant (ISO 8601; a date-time needs its offset).
Only incidents detected at or before this date or instant (ISO 8601; a date-time needs its offset).
Maximum number of incidents to return.
Required range:
1 <= x <= 100Number of incidents to skip, for pagination.
Required range:
x >= 0Response
Success
Show child attributes
Show child attributes
Was this page helpful?