connections

Link Telegram

Hand back a one-time deep link the customer taps in their own bot.

Telegram has no OAuth, so ownership of a chat is proved by the customer sending the bot a code only this tenant could have been given. The webhook consumes it and records the chat id on the connection.

post/api/connections/telegram/link

Request

  • Base URL: https://api.heymetra.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.heymetra.com/api/connections/telegram/link
  • Auth: none declared

Headers

authorizationstring nullable
x-workspace-idstring nullable

Response

Successful Response

deep_linkstring required
bot_usernamestring required
commandstring required
expires_ininteger required

Changes

No recorded changes to this operation across all 3 revisions of this API.