Connect Telegram
Connect a managed Telegram bot to this app.
We verify the BotFather token (getMe), store it + a generated inbound webhook secret in Vault, create a telegram channel, and register Telegram’s webhook to our managed inbound URL. Returns the channel + bot username. The raw token is never stored in the DB or echoed back.
Authentication
AuthorizationBearer
LoreOS API key, sent as Authorization: Bearer <key>.
Path parameters
app_id
Request
This endpoint expects an object.
bot_token
routing_mode
default_character_id
Character SLUG (e.g. ‘dbz-goku’), NOT a UUID — the character this bot replies as in single_character routing. Required for single_character mode.
Response
Successful Response
Errors
422
Unprocessable Entity Error