Skip to content

API reference

Send a Telegram test message

telegram_test — Send one test message through the saved bot to the saved chat.

telegram_test · Changes an X-Buddy setting

Send one test message through the saved bot to the saved chat.

REST POST /api/public/v1/telegram/test
MCP tool telegram_test
Permission needed workspace.edit — Owner, Manager
Scope group infra:write
Group VPS, proxies and alerts
Shown up front in profiles Infrastructure

Input

No input.

Result

Returns the operation's result in the { data, meta } envelope.

Needs an idempotency key (Idempotency-Key, 8–128 characters). Retrying with the same key never repeats the action.

Example

Call over REST

curl -X POST "https://reach-link-craft.lovable.app/api/public/v1/telegram/test" \
  -H "Authorization: Bearer $XBUDDY_API_KEY" \
  -H "Idempotency-Key: 6f1c2a90-example-key" \
  -H "Content-Type: application/json" \
  -d '{}'

Call over MCP

{
  "method": "tools/call",
  "params": {
    "name": "telegram_test",
    "arguments": {
      "idempotency_key": "6f1c2a90-example-key"
    }
  }
}

Errors you may get

Back to all operations