Telegram Notifier API

Test and explore the Telegram message notification service

View Documentation

API Documentation

Send Message Endpoint

POST /send

Send a message to a Telegram chat using the configured bot.

Example Requests

cURL
curl -X POST http://localhost:3000/send \
  -H "Content-Type: application/json" \
  -d '{"message": "Hello from Telegram Notifier!"}'
JavaScript (Fetch)
fetch('http://localhost:3000/send', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
    },
    body: JSON.stringify({
        message: 'Hello from Telegram Notifier!'
    })
})
.then(response => response.json())
.then(data => console.log(data));
Python (Requests)
import requests

response = requests.post('http://localhost:3000/send', 
    json={'message': 'Hello from Telegram Notifier!'})
    
print(response.json())

Response Format

Success Response

{
    "success": true,
    "data": null,
    "message": "Message sent successfully"
}

Error Response

{
    "success": false,
    "message": "Error description"
}

Test Playground

Test the API with your own Telegram bot credentials

🔒 Privacy Notice: Your bot token and chat ID are never saved or logged. All requests are processed in memory only and discarded immediately after use. This playground is completely safe to use.
Get your bot token from @BotFather
To get your chat ID:
• Method 1: Send a message to your bot, then visit the getUpdates endpoint
• Method 2: Use helper bots:
  - Personal chat: Message @userinfobot
  - Groups: Add @getidsbot to your group
  - Channels: Forward a message to @getidsbot