---
title: "Log Button Click"
method: POST
path: "/menu-layout/stats/log-click"
tags: ["menu-layout"]
---

# Log Button Click

`POST /menu-layout/stats/log-click`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/menu-layout/stats/log-click/post.ts> (a function with typed inputs; its response is checked against the schema)

Записать клик по кнопке (для внешней интеграции).

## Query parameters

- `button_id` string, required
- `user_id` integer, nullable
- `callback_data` string, nullable
- `button_type` string, nullable
- `button_text` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/menu-layout/stats/log-click/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
