Canonical: https://weaveos.com/reference/telegram-bot-api/inspect-webhook-status

1. [Software capabilities](https://weaveos.com/reference)
2. /[Telegram Bot API](https://weaveos.com/reference/telegram-bot-api)
3. /Inspect a Telegram bot webhook

[![](https://weaveos.com/reference/logos/telegram-bot-api.svg)Telegram Bot API](https://weaveos.com/reference/telegram-bot-api)

# Inspect a Telegram bot webhook

Call getWebhookInfo to see whether your bot has a webhook, how many updates are waiting, and the most recent delivery error. Use getMe to confirm which bot your token belongs to.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: getWebhookInfo](https://weaveos.com/reference/telegram-bot-api/inspect-webhook-status#method-1)
2. [2API: getMe](https://weaveos.com/reference/telegram-bot-api/inspect-webhook-status#method-2)

API

### getWebhookInfo

Read the bot's webhook URL, pending update count, and most recent synchronization error.

[Read source: Telegram Bot API getWebhookInfo](https://core.telegram.org/bots/api#getwebhookinfo)

- Requirements

  A Telegram bot token and HTTPS access to the Bot API.

- Limitations

  The response reports the latest webhook error, not a complete delivery log. An empty URL means the bot is using polling or has no webhook.

Example shell

Copy

```
curl --fail "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getWebhookInfo"
```

API

### getMe

Verify the bot token and read the bot identity before checking webhook status.

[Read source: Telegram Bot API getMe](https://core.telegram.org/bots/api#getme)

- Requirements

  A Telegram bot token and HTTPS access to the Bot API.

- Limitations

  getMe returns identity and capabilities. Read pending update counts and webhook errors with getWebhookInfo.

Example shell

Copy

```
curl --fail "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe"
```

## More from Telegram Bot API

[View all 1 Telegram Bot API tasks](https://weaveos.com/reference/telegram-bot-api)
