# Sending bot messages

**URL:** <https://devforum.zoom.us/t/sending-bot-messages/3313>\
**Category:** API and Webhooks\
**Created:** [February 18, 2019, 4:13am UTC](https://devforum.zoom.us/t/sending-bot-messages/3313 "2019-02-18T04:13:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![watanabe](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@watanabe](https://devforum.zoom.us/u/watanabe)\
**Post date:** [February 18, 2019, 4:13am UTC](https://devforum.zoom.us/t/sending-bot-messages/3313/1 "2019-02-18T04:13:04Z")

</div>

Hi,

I want to create chatbot and send messages from bot.  
Now I’m trying test request, but it’s doesn’t work.  
My current problem is `to_jid` and `account_jid`.  
Where can I find these ID?

thanks,

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 19, 2019, 7:44pm UTC](https://devforum.zoom.us/t/sending-bot-messages/3313/2 "2019-02-19T19:44:34Z")

</div>

Hi @watanabe,

You can get the to\_jid using the List Chat Channel API[0] and account\_Id from the retrieve user API[1]. Also, we have provided another link describing each property as well[3]. Let us know if you have any more questions.

1. [https://marketplace.zoom.us/docs/api-reference/zoom-api/im-chat/getchatchannels](https://marketplace.zoom.us/docs/api-reference/zoom-api/im-chat/getchatchannels)
2. [https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)
3. [https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/engaging-with-im-channels](https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/engaging-with-im-channels)

Thanks

---

<div class="post-metadata">

**Author:** ![watanabe](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@watanabe](https://devforum.zoom.us/u/watanabe)\
**Post date:** [February 20, 2019, 2:02am UTC](https://devforum.zoom.us/t/sending-bot-messages/3313/3 "2019-02-20T02:02:59Z")

</div>

Thanks for your answer.  
Problem has been solved.
