Returns one sending domain. `:domain` is a MailDomain id or hostname. The body is the domain object — not the hostname string. Permission: `domains`.

## Path Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `domain` | string | **Required.** MailDomain id or hostname. |

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `id` | string | MailDomain id. |
| `domain` | string | Hostname. |
| `status` | string | `NOT_STARTED`, `PENDING`, `VERIFIED`, or `FAILED`. |
| `region` | string | AWS region. |
| `createdAt` | string | ISO 8601 created timestamp. |
| `sesRecords` | array | Stored SES DNS records when present. |
| `dnsRecords` | array | Current DNS records: `type`, `name`, `value`, `priority`, `ttl`, `purpose`. |
| `message` | string | Status copy when verification is incomplete. |

## Errors

| Status | `name` | When |
| ------ | ------ | ---- |
| 401 | `missing_api_key` | Missing or invalid bearer token |
| 403 | `missing_permission` | Token lacks the `domains` permission |
| 404 | `not_found` | Unknown id or hostname |

## Related

- [Verify Domain](/docs/api-reference/v2/domains-verify)
- [List Domains](/docs/api-reference/v2/domains-list)
- [SDK: lumail.domains.get](/docs/sdk/v2/domains-get)


## API Reference
**Method:** GET
**Endpoint:** /api/v2/domains/:domain

### SDK
```ts
import { Lumail } from "lumail";

const lumail = new Lumail({ apiKey: process.env.LUMAIL_API_KEY });
const { data, error } = await lumail.domains.get("mail.example.com");
if (error) {
  throw error;
}
console.log(data.id, data.domain, data.status);
```

### cURL
```bash
curl https://lumail.io/api/v2/domains/mail.example.com \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

### JavaScript
```javascript
const response = await fetch(
  "https://lumail.io/api/v2/domains/mail.example.com",
  {
    headers: {
      Authorization: "Bearer YOUR_API_TOKEN",
    },
  },
);
const data = await response.json();
```

### Success Response
```json
{
  "id": "dom_abc123",
  "domain": "mail.example.com",
  "status": "VERIFIED",
  "region": "eu-west-1",
  "createdAt": "2026-09-05T10:30:00.000Z",
  "sesRecords": []
}
```

### Error Response
```json
{
  "name": "not_found",
  "message": "Domain not found",
  "statusCode": 404
}
```
