> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unosend.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Domain

> Retrieve a domain by ID.

<ParamField path="id" type="string" required>
  The ID of the domain to retrieve.
</ParamField>

### Request

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.unosend.co/domains/dom_123 \
    -H "Authorization: Bearer un_xxxxxxxxxx"
  ```

  ```javascript JavaScript theme={null}
  await fetch('https://api.unosend.co/domains/dom_123', {
    headers: { 'Authorization': 'Bearer un_xxxxxxxxxx' }
  });
  ```

  ```python Python theme={null}
  import requests

  requests.get('https://api.unosend.co/domains/dom_123',
    headers={'Authorization': 'Bearer un_xxxxxxxxxx'}
  )
  ```
</CodeGroup>

### Response

```json 200 theme={null}
{
  "success": true,
  "data": {
    "id": "dom_123",
    "domain": "yourdomain.com",
    "status": "verified",
    "dns_records": [
      {
        "type": "TXT",
        "name": "_unosend",
        "value": "unosend-verification=abc123",
        "purpose": "verification",
        "verified": true
      }
    ],
    "created_at": "2024-01-15T10:30:00.000Z",
    "verified_at": "2024-01-15T11:00:00.000Z"
  }
}
```
