---
title: "Check user authorization for a topic"
method: POST
path: "/access-ctrl/topic-auth/check"
tags: ["Topic Authorization"]
---

# Check user authorization for a topic

`POST /access-ctrl/topic-auth/check`

## Request

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

Validates if a user has permission to perform an action on a specific topic

## Request body

- CheckAuthRequestDto: Authorization check request
  - `username` string, required
  - `topic` string, required
  - `action` string, required

## Response `200`

Authorization check completed successfully

- CheckAuthResultDto
  - `result` string

## Other responses

- `400`: Invalid request parameters
- `422`: Validation failed
- `500`: Internal server error

---

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