> For the complete documentation index, see [llms.txt](https://help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.firstline.cc/feature/channels/line/ru-he-qi-yong-messaging-api.md).

# 如何啟用 Messaging API

## 前往要串接官方帳號

若您已經擁有官方帳號，直接點擊要串接的官方帳號頁面即可，若沒有請依照步驟建立[ LINE Official Account Manager](https://account.line.biz/login?redirectUri=https%3A%2F%2Fmanager.line.biz%2F%3Fstatus%3Dsuccess) 。

若已有官方帳號，而列表沒有顯示，可能為沒有管理者權限，可由其帳號管理者調整對應權限。

![](/files/9hiHBTUB0M04VQmGuWrz)

## 將 Message API 啟用

點擊右上方的「管理」，接著點擊「Message API」，接著點擊「啟用 Message API」。

![](/files/O1WDMwMz3Mr3vZUdM7mI)

啟用後，將會詢問選擇或是建立服務提供者，而服務者通常為企業、組織或個人名稱，例如自己的姓名，或是公司的名稱。

![](/files/LOAtt2aYlr84rLRTGAli)

接著，可將企業網頁的隱私權政策及服務條款網址複製貼上，並確認啟用 Message API。

![](/files/KITO26E3O2l6L16U7HL5)

## 前往 Developer 頁面

經過上一步驟後，會在當前介面查看「Channel ID」、「Channel secret」等資訊。

但請直接點擊下方的「您可由[LINE Developers](https://developers.line.biz/en/)進行其他設定」連結直接前往 [LINE Developers](https://developers.line.biz/en/) 頁面。

![](/files/eaGOsGd2dUuEb1VtIVDU)

進入 [LINE Developers](https://developers.line.biz/en/?status=success) 後台，選擇剛設定好的 Admin，就能查看更詳細的串接資訊。

![](/files/QPpTXz2Zq2P6FWE3Jorq)

分別能在「Basic settings」、「Messaging API」即串接資料，如「Channel secret」、「Channel access token」資訊，即可依序執行串接步驟。

![](/files/qD9l5doCGbl0zE40HrJo)
