---
title: "Get receiving setup status"
method: GET
path: "/v1/email/domains/{id}/receiving-status"
tags: ["Email"]
---

# Get receiving setup status

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

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/email/domains/{id}/receiving-status`
- Auth: API key in header `x-api-key`

Reports each prerequisite for receiving a domain's mail at Samva, in order: sending verified, a destination (a webhook endpoint or an active forwarding rule), receiving enabled, and the inbound MX record. The MX answer is a live DNS lookup that names the current target when mail is routed elsewhere.

## Path parameters

- `id` string, required

## Response `200`

ReceivingStatus

- ReceivingStatus
  - `domain` string, required
  - `receivingHost` string, required
  - `sending` object, required
    - `satisfied` boolean, required
    - `phase` 'dns-setup' | 'provisioning' | 'verifying' | 'ready' | 'degraded' | 'failed', required
  - `destination` object, required
    - `satisfied` boolean, required
    - `endpointId` string, required
    - `forwardingRules` integer, required
    - `mailboxes` integer, required
  - `receiving` object, required
    - `satisfied` boolean, required
    - `catchAll` boolean, required
  - `mx` object, required
    - `satisfied` boolean, required
    - `state` 'pointing-here' | 'elsewhere' | 'missing' | 'unknown', required
    - `expected` object, required
      - `exchange` string, required
      - `priority` integer, required
    - `current` object[], required
      - `exchange` string, required
      - `priority` integer, required
  - `ready` boolean, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
