Telegram bots

Connect a bot by its token and register the webhook

post/api/v1/workspaces/{workspaceId}/telegram-bots

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/workspaces/{workspaceId}/telegram-bots
  • Auth: HTTP bearer

Path parameters

workspaceIdinteger required

Request body

tokenstring required

Bot token from @BotFather

Response

Created

created_atstring date-time required
idstring required
last_errorstring required
status'active' | 'disabled' | 'invalid' required
usernamestring required

Changes

No recorded changes to this operation across all 1 revision of this API.