# Introduction

This section of API allows to manage customer WWW domains.

## Domain model

### Example

```json
{
  "domain": {
    "id": 22,
    "address": "example.com",
    "dns_records": [
        {
            "key": "example.com",
            "type": "TXT",
            "values": [
               "\"placewise-verification=abc\""
            ]
        }
    ],
    "verification_token": "abc",
    "web": null,
    "email": true,
    "verified": true,
    "verified_at": "2022-04-12T14:50:59.475870Z",
    "created_at": "2022-04-12T10:01:38.071466Z",
    "updated_at": "2022-04-12T14:50:59.475870Z"
  }
}
```

### Definition

| Key        | Type     | Optional | Read-only | Description                                       |
|------------|----------|----------|-----------|---------------------------------------------------|
| id         | integer  | no       | yes       |                                                   |
| address    | string   | no       | yes       | E.g. `example.com`                                |
| dns_records                           | array[hash]   | no       | Yes       | Array of hashes which describe what dns records have to be set                           |
| dns_records.key                       | string        | no       | Yes       | Key of dns record                                                                        |
| dns_records.type                      | string        | no       | Yes       | Type of dns record                                                                       |
| dns_records.values                    | array[string] | no       | Yes       | Values of dns record                                                                     |
| verification_token | string | No | Yes | Token used for domain ownership verification |
| verified | boolean | no | Yes | Indicates if domain ownership has been confirmed |
| verified_at | datetime | no | Yes | Indicates when domain ownership has been confirmed |
| web        | boolean  | true     | yes       | Indicates if domain web config setup is correct   |
| email      | boolean  | true     | yes       | Indicates if domain email config setup is correct |
| created_at | datetime | no       | yes       | Time of record creation                           |
| updated_at | datetime | no       | yes       | Time of record last update                        |
  