---
title: "Check authentication"
method: POST
path: "/access-ctrl/auth/check"
tags: ["Authentication"]
---

# Check authentication

`POST /access-ctrl/auth/check`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/access-ctrl/auth/check`
- Auth: API key in header `x-auth-token`

Validates MQTT credentials (JWT token)

## Request body

- AuthRequestDto
  - `username` string, required
  - `password` string, required

## Response `200`

Authentication successful

- CheckAuthResultDto
  - `result` string

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
