# Get DNS Records

> Every DNS record to add, with live status

**Endpoint:** `GET /v1/applications/{application_id}/dns`  
**Access:** Paid plan required  
**MCP tool:** `get_dns_records`

## cURL example

```bash
curl "https://api.verifiedinbox.ai/v1/applications/0192a5e0-1234-7000-8000-000000000001/dns" \
  -H "Authorization: Bearer vi_live_YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `application_id` (path, required) | `string (uuid)` | Application id. |
| `VI-Environment` (header) | `string` | `live` (default) or `test`. Used for anonymous callers and OAuth access tokens; API keys and web sessions carry their own environment. |

## Responses

### 200 OK

Records.

```json
{
  "all_required_ok": true,
  "checked_at": "2026-10-31T12:00:00Z",
  "dns_host": "string",
  "nameservers": [
    "string"
  ],
  "records": [
    {
      "current": [],
      "from_step": "domain",
      "glossary": "string",
      "host": "string",
      "host_relative": "string",
      "id": "ownership",
      "note": "string",
      "purpose": "string",
      "required": true,
      "rollout": {
        "direct_record": {
          "host": {},
          "note": {},
          "type": {},
          "value": {}
        },
        "email_usage": "none",
        "enforced": true,
        "next_stage": "missing",
        "path": "direct",
        "plan": [],
        "ready_to_advance": true,
        "reason": "Updated company logo",
        "recommended_record": {
          "host": {},
          "note": {},
          "type": {},
          "value": {}
        },
        "removed_tags": [],
        "stage": "missing"
      },
      "rollout_stage": "missing",
      "status": "ok",
      "type": "string",
      "value": "string"
    }
  ],
  "resolver": "authoritative",
  "zone": "acme.com"
}
```

### 400 (invalid_request)

`invalid_request` — the request is malformed.

```json
{
  "error": {
    "code": "invalid_request",
    "message": "Please provide a valid domain name."
  }
}
```

### 401 (unauthenticated)

`unauthenticated` — sign in / send a valid credential. `next_action.kind = sign_in`.

```json
{
  "error": {
    "code": "unauthenticated",
    "message": "Sign in or provide an API key to continue.",
    "next_action": {
      "kind": "sign_in",
      "title": "Sign in or create an account",
      "url": "/login"
    }
  }
}
```

### 402 (payment_required)

`payment_required` — this step needs a paid plan. `next_action.kind = checkout`.

```json
{
  "error": {
    "code": "payment_required",
    "message": "This step requires an active paid plan for this domain.",
    "next_action": {
      "kind": "checkout",
      "title": "Continue to checkout"
    }
  }
}
```

### 404 (not_found)

`not_found` — doesn't exist or isn't accessible to you (never 403).

```json
{
  "error": {
    "code": "not_found",
    "message": "We couldn't find that resource."
  }
}
```

### 429 (rate_limited)

`rate_limited` — retry after `Retry-After` seconds (`details.retry_after_seconds`). `limit_reached` — a quota is used up; `details.limit` names it and `next_action` offers support.

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Please wait a moment and try again."
  }
}
```
