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

# 如何取得Token

## 如何取得 API Token？

MantaGO 每個 bot 專屬的 `API Token`及`Secret Key`。

方法一：從MantaGO後台

1. 進入 bot 主控台
2. 點選 『設定』
3. 點選 『進階設定』
4. 點選 『API串接設定』
5. 如果API Token跟API Secret為空白，點選刷新
6. 取得此 bot 的 API Token以及Secret Key。

若Token過期(效期30天)，可重新從MantaGO後台獲取，或是拿過期的Token和Secret Key 打API做換發，請參考以下換發文件:&#x20;

{% content-ref url="/pages/Aa1NJieGiNxn5LGBURyS" %}
[Open API Token與Secret Key換發](/open-api-token-yu-secret-key-huan-fa.md)
{% endcontent-ref %}

{% hint style="info" %}
每個bot僅有一組API Token和Secret Key，請妥善保存
{% endhint %}
