Skip to Content
MosaicMosaicDocs
Tool Reference

GetBotWebhooks

Get the channel-specific webhook URLs for a bot the current user can manage.

Starter documentation. Features and account details may differ from this deployment.

GetBotWebhooks

Get the channel-specific webhook URLs for a bot the current user can manage. A bot has one URL per channel it can access. POST message content to a returned webhookUrl and authenticate with a token minted from the chat card or bot settings after IssueBotCredential or CreateBot; send it in the returned credentialHeader and send credentialScope in credentialScopeHeader. If no URLs are returned, add the bot to a channel with ManageBotChannelAccess or recreate it with CreateBot and channelId.

Parameters

ParameterTypeRequiredDescription
botIdstringYesBot id from CreateBot or ListBots.

On this page