---
title: "Check the inbound MX configuration"
method: POST
path: "/sender-domains/{id}/verify-inbound"
tags: ["domains"]
---

# Check the inbound MX configuration

`POST /sender-domains/{id}/verify-inbound`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/sender-domains/{id}/verify-inbound`
- Auth: HTTP bearer

Checks whether the highest-priority MX of the domain points to Mailly; on success inboundStatus=verified.

## Path parameters

- `id` string, required: Domain record ID

## Response `200`

Check result

- object
  - `success` boolean, required
  - `ready` boolean, required
  - `domain` string, required
  - `inboundStatus` string, required
  - `expectedMx` object
  - `records` object[]
  - `message` string, required

## Other responses

- `401`: Missing or invalid API key
- `404`: Domain not found
- `409`: Ownership not verified

---

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