# Chatbot api, post message only visible to the user\_jid specified in the api call

**URL:** <https://devforum.zoom.us/t/chatbot-api-post-message-only-visible-to-the-user-jid-specified-in-the-api-call/102338>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [January 23, 2024, 9:27am UTC](https://devforum.zoom.us/t/chatbot-api-post-message-only-visible-to-the-user-jid-specified-in-the-api-call/102338 "2024-01-23T09:27:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![renfjnov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/renfjnov/32/54063_2.png) [@renfjnov](https://devforum.zoom.us/u/renfjnov)\
**Post date:** [January 23, 2024, 9:27am UTC](https://devforum.zoom.us/t/chatbot-api-post-message-only-visible-to-the-user-jid-specified-in-the-api-call/102338/1 "2024-01-23T09:27:00Z")

</div>

Hi, there,  
I’m developping a chat bot which will send alerts to channels.  
I used the end point _/im/chat/messages_ to send message to a channel.  
In that channel, I received the message, it shows “only visiable to you”.  
How can I make the message visiable to every one in the channel ?

I checked the Forums and it seems this friend faces the same question:  
[chatbot-api-post-message-visible-to-everyone-in-channel](https://devforum.zoom.us/t/chatbot-api-post-message-visible-to-everyone-in-channel/99445)

He said after change the app from user-level to account-level, this problem seems to be solved. However, I checked the documents, and could not find a word explainning what is this account-level / user-level, could you please help to explain or give a link to me?

Thanks.

**API Endpoint(s) and/or Zoom API Event(s)**  
/im/chat/messages  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._  
[Zoom Chatbot API](https://developers.zoom.us/docs/api/rest/reference/chatbot/methods/#operation/sendChatbot)  
**Description**  
_Details on your question, workflow or the problem you’re trying to solve._  
The api call gives 200, but the message is only visible to the user as specified in the field “user\_jid” in the body.  
**Error?**  
_The full error message or issue you are running into, where applicable._

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_  
url: [https://api.zoom.us/v2/im/chat/messages](https://api.zoom.us/v2/im/chat/messages)  
headers :

```auto
 {
        "Content-Type": "application/json",
        "Authorization": f"Bearer {TOKEN}",
}

```

body:

```auto
        body = {
            "robot_jid": secret.zoom_bot_jid,
            "to_jid": to_jid,
            "account_id": account_id,
            "user_jid": user_jid,
            "is_markdown_support": True,
            "content": content,
        }

```

,

_2. Authentication method or app type_  
Authentication method : send request to `https://api.zoom.us//oauth/token?grant_type=client_credentials` to get a bearer token.

App Type: Zoom Chat Bot ? I just select Build App and followed the steps in the tourtorial.

_3. Any errors_  
response was 200 and the message did send to the channel, but it says only visible to me myself.

---

<div class="post-metadata">

**Author:** ![renfjnov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/renfjnov/32/54063_2.png) [@renfjnov](https://devforum.zoom.us/u/renfjnov)\
**Post date:** [January 24, 2024, 8:20am UTC](https://devforum.zoom.us/t/chatbot-api-post-message-only-visible-to-the-user-jid-specified-in-the-api-call/102338/2 "2024-01-24T08:20:47Z")

</div>

> [@renfjnov](#):
>
> `user_jid`

it turns out that you need to create a admin-managed app instead of user-managed app.

And for admin-managed app, you no longer has to pass this user\_jid in the body…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 25, 2024, 8:21am UTC](https://devforum.zoom.us/t/chatbot-api-post-message-only-visible-to-the-user-jid-specified-in-the-api-call/102338/3 "2024-01-25T08:21:29Z")

</div>

Closed on January 25, 2024, 8:21am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
