---
title: "Applies the initial configuration."
method: POST
path: "/install/configure"
tags: ["install"]
---

# Applies the initial configuration.

`POST /install/configure`

## Request

- Base URL: `/control` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/control/install/configure`
- Auth: HTTP basic

## Request body

- InitialConfiguration: AdGuard Home initial configuration for the first-install wizard.
  - `dns` AddressInfo, required: Port information
    - `ip` string, required
    - `port` integer, required
  - `web` AddressInfo, required: Port information
    - `ip` string, required
    - `port` integer, required
  - `username` string, required: Basic auth username
  - `password` string, required: Basic auth password

## Response `200`

OK.

## Other responses

- `400`: Failed to parse initial configuration or cannot listen to the specified addresses.
- `422`: The specified password does not meet the strength requirements.
- `500`: Cannot start the DNS server

---

[API](https://skmtc.dev/guardllamanet/apis/adguard-home.md) - [All operations](https://skmtc.dev/guardllamanet/apis/adguard-home/llms.txt) - [OpenAPI document](https://skmtc.dev/guardllamanet/apis/adguard-home/revisions/14ff21aeb363?raw)
