> ## 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.

# Verify Domain

> Verify domain DNS records.

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

### Request

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

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

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

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

### Response

```json 200 theme={null}
{
  "id": "dom_123",
  "domain": "yourdomain.com",
  "status": "verified",
  "dns_records": [
    {
      "type": "TXT",
      "name": "_unosend",
      "value": "unosend-verification=abc123",
      "purpose": "verification",
      "verified": true
    },
    {
      "type": "TXT",
      "name": "@",
      "value": "v=spf1 include:_spf.unosend.co ~all",
      "purpose": "spf",
      "verified": true
    }
  ],
  "verified_at": "2024-01-15T11:00:00.000Z"
}
```

<Note>
  DNS changes can take up to 48 hours to propagate. If verification fails, try again later.
</Note>
