Get receiving setup status

Reports sending verification, configured destinations (webhook endpoint, forwarding rules, and mailboxes), receiving enablement, and the inbound MX record.

GET
/v1/email/domains/{id}/receiving-status

Reports sending verification, configured destinations (webhook endpoint, forwarding rules, and mailboxes), receiving enablement, and the inbound MX record. Receiving can be enabled before a destination is configured. The MX answer is a live DNS lookup that names the current target when mail is routed elsewhere.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

ReceivingStatus

application/json
  1. response
domain*string
receivingHost*string
sending*
destination*
receiving*
mx*
ready*boolean
Example Request
import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.getReceivingStatus({  "id": "example"});
Example Response
{  "domain": "string",  "receivingHost": "string",  "sending": {    "satisfied": true,    "phase": "dns-setup"  },  "destination": {    "satisfied": true,    "endpointId": "string",    "forwardingRules": 0,    "mailboxes": 0  },  "receiving": {    "satisfied": true,    "catchAll": true  },  "mx": {    "satisfied": true,    "state": "pointing-here",    "expected": {      "exchange": "string",      "priority": 0    },    "current": [      {        "exchange": "string",        "priority": 0      }    ]  },  "ready": true}

Related documentation