# Channel events not triggering webhook for account-level OAuth app

**URL:** <https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726>\
**Category:** API and Webhooks\
**Created:** [June 3, 2021, 7:40pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726 "2021-06-03T19:40:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jody](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jody](https://devforum.zoom.us/u/Jody)\
**Post date:** [June 3, 2021, 7:40pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/1 "2021-06-03T19:40:28Z")

</div>

**Description**  
For Compliance reasons, I’m trying to catch events that would indicate an external user has been added to a chat channel. We want to monitor this for all users in the account, which is why it’s an account-level app. I’ve successfully authorized an internal (non-published) account-level OAuth app and enabled all the events under the “Chat Channel” category. Unfortunately, I’m unable to trigger the webhook when adding or removing individuals from the channel.

I should also note, this is not an in-meeting chat, it’s the top-level chat feature I’m trying to tap into. Also, I’ve verified using Postman that the Azure-hosted webhook is functional and returns a 200 success code.

**Endpoints**  
Happy to share via private channel, but I’d rather not post here.

**Error**  
The configured webhook never fires.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
When creating channels, adding members, removing members, no webhook is triggered.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 4, 2021, 4:24pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/2 "2021-06-04T16:24:21Z")

</div>

Hi @Jody,

Thanks for reaching out about this, and happy to help.

Can you confirm this is the webhook that you’re attempting to subscribe to?

> **[Member Joined - Chat Channel Events - Webhook Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/webhook-reference/chat-channel-events/member-joined)**
>
> Member Joined
> 
> 
> 
> Zoom users can search for public channels that are created by other users in the same Zoom account and join those channels. Users can ...

Additionally, can you confirm the users you’re testing with are joining a public channel and aren’t just being invited to one? This will only be triggered for the former use case, not the latter.

Let me know—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![Jody](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jody](https://devforum.zoom.us/u/Jody)\
**Post date:** [June 7, 2021, 7:23pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/3 "2021-06-07T19:23:00Z")

</div>

I was actually trying to capture the Member Invited event, but I have enabled all Chat Channel events:

[https://marketplace.zoom.us/docs/api-reference/webhook-reference/chat-channel-events/member-invited](https://marketplace.zoom.us/docs/api-reference/webhook-reference/chat-channel-events/member-invited)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/65d20a3aa2cf25344a0a310a184a25bae873b43d.png)

I’ve also verified that I am using a public chat channel to test this out. Nevertheless, the webhook refuses to fire for any of the chat channel events.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 8, 2021, 2:51pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/4 "2021-06-08T14:51:20Z")

</div>

Hi @Jody,

Thanks for confirming. Have you ensured that you’ve installed the OAuth App that is subscribed to the events under the account that you’re testing under?

You can confirm this by going to the Marketplace portal and navigating to this [page](https://marketplace.zoom.us/user/installed).

Second, can you ensure that the endpoint you’ve specified to receive events at is publicly accessible and returns a 200OK response? (If it doesn’t the webhook events could fail silently).

Let me know—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![Jody](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jody](https://devforum.zoom.us/u/Jody)\
**Post date:** [June 8, 2021, 4:19pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/5 "2021-06-08T16:19:35Z")

</div>

Thanks, Will. I’ve verified that the app is successfully installed:

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

And I’ve also re-verfied using Postman that the response code coming back is 200 OK.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 9, 2021, 4:26pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/6 "2021-06-09T16:26:27Z")

</div>

Hey Jody,

Thank you for confirming. I took a look at our logs and I can see that the requests to your endpoint are returning with an Unauthorized response. I think this is happening because you handle authorization using the `sig` query parameter in your endpoint URL.

However, as a POST request will be made to your endpoint, these query parameters likely aren’t passed with the request which causes the Unauthorized response.

If you want to add security to your endpoint, I recommend using the [verification token](https://marketplace.zoom.us/docs/api-reference/webhook-reference#headers) sent in the authorization header of the event to validate the event itself.

Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Jody](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@Jody](https://devforum.zoom.us/u/Jody)\
**Post date:** [June 11, 2021, 4:04pm UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/7 "2021-06-11T16:04:37Z")

</div>

Thanks, Max.

Is there any way to configure the webhook endpoint to include the parameters? Unfortunately, Azure Logic Apps require the SAS key parameters for their webhook endpoints.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 15, 2021, 12:05am UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/8 "2021-06-15T00:05:23Z")

</div>

Hey Jody,

Unfortunately, we don’t have a method to use query parameters with our Endpoint URLs. You may want to reach out to Azure to see if they can advise on any other method to receive these events.

Thanks,  
Max

---

<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:** [July 15, 2021, 10:05am UTC](https://devforum.zoom.us/t/channel-events-not-triggering-webhook-for-account-level-oauth-app/51726/9 "2021-07-15T10:05:30Z")

</div>

Closed on July 15, 2021, 10:05am UTC

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