---
title: "Checks configuration"
method: POST
path: "/install/check_config"
tags: ["install"]
---

# Checks configuration

`POST /install/check_config`

## Request

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

## Request body

- CheckConfigRequest: Configuration to be checked
  - `dns` CheckConfigRequestInfo
    - `ip` string
    - `port` integer
    - `autofix` boolean
  - `web` CheckConfigRequestInfo
    - `ip` string
    - `port` integer
    - `autofix` boolean
  - `set_static_ip` boolean

## Response `200`

OK.

- CheckConfigResponse
  - `dns` CheckConfigResponseInfo, required
    - `status` string, required
    - `can_autofix` boolean, required
  - `web` CheckConfigResponseInfo, required
    - `status` string, required
    - `can_autofix` boolean, required
  - `static_ip` CheckConfigStaticIpInfo, required
    - `static` 'yes' | 'no' | 'error': Can be: yes, no, error
    - `ip` string: Current dynamic IP address. Set if static=no
    - `error` string: Error text. Set if static=error

## Other responses

- `400`: Failed to parse JSON or cannot listen on the specified address.

---

[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)
