# 401 API exception

**URL:** <https://devforum.zoom.us/t/401-api-exception/25086>\
**Category:** API and Webhooks\
**Created:** [July 24, 2020, 12:15pm UTC](https://devforum.zoom.us/t/401-api-exception/25086 "2020-07-24T12:15:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahuls](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rahuls](https://devforum.zoom.us/u/rahuls)\
**Post date:** [July 24, 2020, 12:15pm UTC](https://devforum.zoom.us/t/401-api-exception/25086/1 "2020-07-24T12:15:01Z")

</div>

**Description**  
Dear Team, We are not able to create meeting from .NET Web Application and getting unauthorized error from API.

**Error**  
The remote server returned an error: (401) Unauthorized.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT based authentication are using through .NET Application.

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/7zNWuLQKR7-GzPo4GyhBhg/meetings](https://api.zoom.us/v2/users/7zNWuLQKR7-GzPo4GyhBhg/meetings)

---

<div class="post-metadata">

**Author:** ![rahuls](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rahuls](https://devforum.zoom.us/u/rahuls)\
**Post date:** [July 27, 2020, 6:20am UTC](https://devforum.zoom.us/t/401-api-exception/25086/3 "2020-07-27T06:20:43Z")

</div>

Dear Team,

Please share response as per reported ticket.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 29, 2020, 8:53pm UTC](https://devforum.zoom.us/t/401-api-exception/25086/4 "2020-07-29T20:53:03Z")

</div>

Hey @rahuls,

How are you setting your authentication header?

Also, make sure you are sending a POST request, and passing in a userID who is a [user on your account.](https://zoom.us/account/user#/)

Thanks,  
Tommy

---

<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:** [August 5, 2020, 8:53pm UTC](https://devforum.zoom.us/t/401-api-exception/25086/5 "2020-08-05T20:53:06Z")

</div>

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