# Unable to get imchat:bot scope — getting error 7010 when calling /v2/im/chat/messages

**URL:** <https://devforum.zoom.us/t/unable-to-get-imchat-bot-scope-getting-error-7010-when-calling-v2-im-chat-messages/142803>\
**Category:** Authentication\
**Created:** [April 3, 2026, 5:06pm UTC](https://devforum.zoom.us/t/unable-to-get-imchat-bot-scope-getting-error-7010-when-calling-v2-im-chat-messages/142803 "2026-04-03T17:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WayneYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wayneyang/32/57365_2.png) [@WayneYang](https://devforum.zoom.us/u/WayneYang)\
**Post date:** [April 3, 2026, 5:06pm UTC](https://devforum.zoom.us/t/unable-to-get-imchat-bot-scope-getting-error-7010-when-calling-v2-im-chat-messages/142803/1 "2026-04-03T17:06:37Z")

</div>

Hi everyone,

I followed the documentation at [Get credentials - Chat - Zoom Developer Docs](https://developers.zoom.us/docs/chat/create/) to create a Chatbot app and enabled Team Chat Subscription. The app is working — I can receive  
webhook events (bot\_notification) successfully.

However, when I try to send a message by calling POST /v2/im/chat/messages, I get the following response:

{  
“code”: 7010,  
“message”: “Invalid authorization token.”,  
“result”: false  
}

I’m using a Client Credentials OAuth token obtained from POST /oauth/token?grant\_type=client\_credentials. The token is valid, but the scope field in the response does not  
include imchat:bot

I checked the Scopes section in my app configuration and I cannot find imchat:bot anywhere to add it manually. The documentation mentions:

▎ “The following scope is automatically selected once you create a Chat Command: imchat:bot (required)”

I tried adding a Chat Command in the Features section, but imchat:bot still does not appear in the Scopes.

My questions:

1. Is the missing imchat:bot scope the reason for the 7010 error?
2. How can I get imchat:bot added to my app? Is there a specific configuration step I’m missing?

Any help would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [April 7, 2026, 7:45am UTC](https://devforum.zoom.us/t/unable-to-get-imchat-bot-scope-getting-error-7010-when-calling-v2-im-chat-messages/142803/2 "2026-04-07T07:45:02Z")

</div>

@WayneYang ,

You will need to create a General App with Admin Level Oauth.

”Chat” should be enabled in the Surface Tab, and you should also turn on “Team Chat Subscription”

You should be able to add the imchat:bot scope

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/b/fb55b4d847a95e3bfd7f1b3dacff515269ad610d.jpeg)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/c/bce7776111d3003385ae114e6b4a4e6506034c13.png)

---

<div class="post-metadata">

**Author:** ![WayneYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wayneyang/32/57365_2.png) [@WayneYang](https://devforum.zoom.us/u/WayneYang)\
**Post date:** [April 7, 2026, 11:46pm UTC](https://devforum.zoom.us/t/unable-to-get-imchat-bot-scope-getting-error-7010-when-calling-v2-im-chat-messages/142803/3 "2026-04-07T23:46:26Z")

</div>

Hi Chun Siong,

Thank you so much for your help! The issue has been resolved.

The core reason it wasn’t working before was that I hadn’t selected the **“Admin Level OAuth”** option. Once I adjusted that, everything started working perfectly.
