Need help with message bot
Hi Team,
I need help to understand few doubts regarding message bot
What is domain Id in this API call
DomainId which is visible in developer console with tenant id, what is this domain id belongs to?
I am not able to create new domain in my account
I am not able to register the domain id(taken from the developer console) with message bot
What is 'accountId' in API call
{
"message": "",
"data": {
"totalLength": 10,
"resultData": [{
"contactNo": 100000000000001,
"name": "Name",
"tel": "000-1111",
"email": "email@test.com",
"organization": "organization",
"department": "department",
"jobTitle": "title",
"photoUrl": "https://api.contact.worksmobile.com/mobile/personalPhoto.nhn?path=111.jpg&type=m320",
"importantContactYn": "N",
"worksAt": {
"serviceType": "line",
"worksAtContactNo": 901000000011000
}
}]
},
"code": "SUCCESS",
"failType": null
}
I don't see any accountId information in this response, could you please help me from which API i can get it.
投稿に新しいコメントが追加されましたら通知を送信します。
コメント3
업데이트 된 답글입니다.
オフラインワークス
U can find domain ID which belong to tenant in Developers console (https://developers.worksmobile.com/jp/console/openapi/main).
in Bot menu in Developers console, U can register domain of the msg bot.
and.. accountId is what you login to lineworks like [id@test.com].
2021.08.17
업데이트 된 답글입니다.
VSarala 投稿者
Thanks for the clarification regarding the domain ID, it was helpful, but how do I extract the account ID using an API call, when I try to fetch my private contacts I do not find any field corresponding to the account id as I have to send messages using the message API to my private contacts, so can you give me a way in which I can fetch the account id of my private contacts which I can fetch using an API call.
2021.08.18
업데이트 된 답글입니다.
LINE WORKS 公式アカウント
You cannot send messages to external users such as clients.
Also, private contacts do not have an accountId.
トーク Bot API は同じテナント内の LINE WORKS ユーザにメッセージを送信します。
クライアントなどの外部ユーザにメッセージを送信することはできません。
また、プライベート連絡先には accountId はありません。
2021.08.23
まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。