Get receiving setup status
Reports sending verification, configured destinations (webhook endpoint, forwarding rules, and mailboxes), receiving enablement, and the inbound MX record.
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.
apiKeyx-api-key<token>id*string^dom_[0-9a-hjkmnp-tv-z]{16,24}$ReceivingStatus
application/json- response
domain*stringreceivingHost*stringsending*destination*receiving*mx*ready*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.getReceivingStatus({ "id": "example"});{ "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
Get email onboarding review status
Returns the customer-safe organization review decision, workflow stage, next action, and current sending-identity clearances.
Get a recipient tracking preference
Returns the organization-scoped tracking opt-out for a normalized recipient email. A missing preference reads as opted in and is not created.