---
title: "Get webhook info"
method: GET
path: "/bot/getWebhookInfo"
tags: ["Bot"]
---

# Get webhook info

`GET /bot/getWebhookInfo`

Returns effective delivery settings and pending/error counters without exposing the secret.

## Headers

- `authorization` string, required

## Response `200`

BotWebhookInfoSuccess

- BotWebhookInfoSuccess
  - `ok` true, required — Always true for a successful request.
  - `result` object, required — Method-specific response payload.
    - `url` string, required
    - `pending_update_count` integer, required — A non-negative integer that can be represented exactly by a JavaScript number
    - `allowed_updates` BotUpdateKey[], required
    - `message_trigger` 'all' | 'mentions', required
    - `last_error_date` integer — A non-negative integer that can be represented exactly by a JavaScript number
    - `last_error_message` string
    - `dropped_update_count` integer, required — A non-negative integer that can be represented exactly by a JavaScript number

## 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.

---

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