Get a domain with the latest result of each check and its open incidents (deliverability.read)
GET
/v1/domains/{domain}
const url = 'https://api.replifier.com/v1/domains/dom_01hx0000000000000000000000';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/domains/dom_01hx0000000000000000000000Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
Example
dom_01hx0000000000000000000000Responses
Section titled “Responses”Domain
Media typeapplication/json
object
id
required
string
brandId
required
string
name
required
string
kind
required
string
sendingIdentityId
required
string
status
required
string
lastCheckedAt
required
string
nextCheckAt
required
string
createdAt
required
string
checks
required
Array<object>
object
check
required
string
status
required
string
code
required
Stable result code (spf_missing, dkim_ok…).
string
message
required
What was found, in the Accept-Language language.
string
fix
required
What to do, with the exact record to copy; null if there is nothing to fix.
string
observed
required
The DNS record as currently published.
string
expected
required
The exact DNS record that must be published.
string
checkedAt
required
string
openIncidents
required
Array<object>
object
id
required
string
severity
required
string
status
required
string
causeCode
required
string
check
required
string
openedAt
required
string
Example
{ "kind": "sending", "status": "healthy", "checks": [ { "check": "spf", "status": "pass" } ], "openIncidents": [ { "severity": "info", "status": "open" } ]}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}