Skip to Content
MailroomMailroom home
API referenceDeliverability

Diagnose a domain or email

POST
/deliverability/diagnose

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Header Parameters

Idempotency-Key?string

Stored 24h. Same key + body returns the original response.

Request Body

application/json
  1. body
domain_id?string
email_id?string

Response Body

Findings

application/json
  1. response
status?string
Value in"healthy""degraded""critical"
findings?array<>
Example Request
curl -X POST 'https://api.mailroom.gosuevals.com/v1/deliverability/diagnose' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "status": "healthy",  "findings": [    {      "code": "string",      "severity": "info",      "evidence": {},      "fix": {        "type": "dns",        "instructions": "string",        "record": "string"      }    }  ]}