---
title: "Get bot commands"
method: GET
path: "/bot/getMyCommands"
tags: ["Bot"]
---

# Get bot commands

`GET /bot/getMyCommands`

Returns the command list currently published by the authenticated bot.

## Headers

- `authorization` string, required

## Response `200`

Successful getMyCommands response.

- BotGetMyCommandsSuccess — Successful getMyCommands response.
  - `ok` true, required — Always true for a successful request.
  - `result` object, required — Method-specific response payload.
    - `commands` BotCommand[], required — Commands currently published by the bot, in display order.
      - `command` string, required — Command name without a leading slash. Use 1–32 lowercase letters, digits, or underscores.
      - `description` string, required — User-facing description shown in the command menu, up to 256 characters.
      - `sort_order` integer — Optional order in the command menu. Lower values appear first.

## Other responses

- `400` — The request parameters are missing or invalid.
- `401` — The bot token is missing or invalid.
- `403` — The bot is not allowed to perform this action.
- `404` — The requested method or resource was not found.
- `500` — The server could not complete the request.

## Changes

> 6 revisions in range; 4 could not be searched.

- **2026-07-26** `d80f3b8927b8` — 22 breaking, 5 warning, 20 info
  - the `header` request parameter `authorization` became required
  - removed the media type `multipart/form-data` for the response with the status `200`
  - removed the media type `multipart/form-data` for the response with the status `400`
  - removed the media type `multipart/form-data` for the response with the status `401`
  - …43 more

[Change history](https://skmtc.dev/inline/apis/inline-bot-http-api-docs/changes/bot/getMyCommands/get.md)

---

[API](https://skmtc.dev/inline/apis/inline-bot-http-api-docs.md) · [All operations](https://skmtc.dev/inline/apis/inline-bot-http-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inline/inline-bot-http-api-docs/revisions/69017b8dc5fe/schema)
