Telegram Bot API
Commercialby Telegram
Free HTTP API for building Telegram bots, one of the most-used notification and community channels among Singapore developers, businesses and even government services. Instant setup with a single token from BotFather.
How to authenticate
- 1In Telegram, message @BotFather and send /newbot.
- 2Choose a name and username; BotFather replies with your bot token.
- 3Call methods as https://api.telegram.org/bot<TOKEN>/METHOD.
- 4Get your chat id by messaging the bot and calling getUpdates.
Example request
curl 'https://api.telegram.org/botTOKEN/sendMessage?chat_id=123456789&text=Deploy+complete'Example response
{"ok":true,"result":{"message_id":42,"chat":{"id":123456789,"type":"private"},"text":"Deploy complete"}}Notes for AI agents
Zero-friction: no review, no billing, works in seconds, which is why SG teams default to it for internal alerts. Use webhooks (setWebhook) instead of polling in production.
Machine-readable version: /api/apis/telegram-bot-api
Related APIs
Bird (MessageBird) API
Bird
Omnichannel messaging API (SMS, WhatsApp, email, voice) from the company formerly known as MessageBird, with SG SMS routes and sender ID support. Alternative CPaaS to Twilio with channel-agnostic message objects.
Twilio API (SMS and Voice, SG numbers)
Twilio
Programmable SMS, voice, WhatsApp and verification APIs with Singapore phone numbers and local compliance handling (SGNIC registration for SMS sender IDs). The default CPaaS for SG OTP and notification flows.
WhatsApp Business Cloud API
Meta
Meta-hosted API for sending and receiving WhatsApp messages at scale, the dominant business messaging channel in Singapore. Supports templates, interactive messages, media and webhooks.