Skip to main content
POST
Connect a Telegram bot.

Authorizations

x-api-key
string
header
required

Your agency API key (dmly_ag_…). It authenticates the acting agency and scopes every request to that agency's own sub-accounts and plans.

Path Parameters

workspace
string<uuid>
required

Workspace id.

Body

application/json
bot_token
string
required

The token @BotFather issued for the bot.

name
string

Optional channel name. Defaults to the bot's username.

Maximum string length: 120

Response

The same bot, already connected: its channel, refreshed.