Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

790 B
Raw Blame
---
title: GetBotWebhooks
description: >-
  Get the channel-specific webhook URLs for a bot the current user can manage.
---

# 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

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `botId` | string | Yes | Bot id from CreateBot or ListBots. |