> Markdown version of https://tuna.am/en/docs/api/domain-add-settings/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Get settings for adding a domain

post`/v1/domains/add_settings`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Request body

application/json

* **location**string

  Location, ru by default. Not needed for a name in a cell zone

  **Possible values:** \[`global`, `nl`, `ru`, `unknown`]

### Response

200application/json

* **types** object\[]

  Types

  Array \[
* **builtin**boolean

  Built-in

  **domain_zone_id**integer\<int64>

  Zone ID

  **name**string

  Name

  **subdomain**boolean

  Subdomain

  ]

  **zone**string

  Zone where the built-in subdomain is created
