> For the complete documentation index, see [llms.txt](https://docs.botbonnie.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botbonnie.com/chang-jian-wen-ti/ru-he-qu-de-api-token.md).

# 如何取得 API Token？

當需要從您的伺服器呼叫 BotBonnie 的 API 時，必須帶著 BotBonnie 提供的 `API Token` 做來源安全性驗證，此 API 才會生效。

## 如何取得 API Token？

BotBonnie 提供每個 bot 專屬的 `API Token`。可進入 bot 主控台，點選「機器人設定 > 進階設定」，即可取得此 bot 的 `API Token`。

![](/files/-M2BzN5WrRmeFirg8c9_)
