Interactive API Reference & Playground

Gateway API Documentation

Connect, validate, and query your Telegram bot fleet via high-performance REST endpoints. Test live API requests directly in your browser.

1. Authentication

Requests require active cookie sessions or Authorization tokens. Sessions are created automatically via form or Google & GitHub OAuth.

2. Webhook Integration

When a bot token is added, Dann-Tele automatically registers the Webhook URL with Telegram API (`/api/telegram/webhook/[botId]`).

3. Standard Response

All responses are returned as structured JSON payload with HTTP status codes 200 (Success), 400 (Bad Request), 401 (Unauthorized), or 422 (Unprocessable).

LIVE API TESTER PLAYGROUND

Test Gateway Endpoints

Select an endpoint below to test live API calls.

GET/api/auth/me

Retrieves the authenticated user details and active session status.

REQUEST BODY (JSON)Not required for GET
RESPONSE OUTPUT

Click "Send Request" to view live API response output.