> For an agent: the map of this documentation is at https://escouade.io/en/mail/docs/llms.txt; every page exists in Markdown, at the same address with `.md` appended.

# `inspect_domain`

Prepare a mail domain.

Checks the current MX and SPF before registration. Changes nothing. If the domain already receives mail elsewhere, suggests a subdomain so the existing mailboxes keep working.

## Access

- **Key**: an Escouade Mail key with `manage_inboxes`.
- **Space**: a verified space.
- **Changes nothing**: yes, it only reads.
- **Safe to replay**: yes.

## Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `domain` | string | yes | Domain name, without an e-mail address or a URL. |

## Call it

```sh
curl -s https://api.subagent.fr/v1/inspect_domain \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{"domain": "…"}'
```

The full page in French, with the response fields and every refusal the tool can return: [/mail/docs/reference/inspect_domain](https://escouade.io/mail/docs/reference/inspect_domain).
