message content download api

Steven Liang_c9553f

2025.06.30既読 9

I am testing the Line works API https://www.worksapis.com/v1.0/monitoring/message-contents/download by postman by following the guide https://qiita.com/mmclsntr/items/eee8d8f3546410fe6652 .

I have the service account and get the bearer token with permission scope "monitoring.read audit.read file.read bot.read bot contact contact.read", I am able to get right response by the api {{baseUrl}}/users/:userId?userId=steven.liang.

but the message content download api keeps responding 401Unauthorizederror, I did n't know where the root cause is since I already have themonitoring.readpermission by service account. Can you pls give me some hint how to fix this issue?

Many thanks for your help in advance.

コメント0

次の投稿AuditのAPIを利用したトークの出力
リスト

まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。