# Does Zoom Apps can work with websocket server?

**URL:** <https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960>\
**Category:** Zoom Apps\
**Created:** [July 26, 2022, 8:33am UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960 "2022-07-26T08:33:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pehk-vc8](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@pehk-vc8](https://devforum.zoom.us/u/pehk-vc8)\
**Post date:** [July 26, 2022, 8:33am UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960/1 "2022-07-26T08:33:13Z")

</div>

Hello ,  
Does zoomapp sdk support webscockets?  
Is it only for https request?

Thanks.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [July 26, 2022, 8:53pm UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960/2 "2022-07-26T20:53:01Z")

</div>

Hi @pehk-vc8 , are you seeking to use websockets to make API requests to Zoom/Zoom Apps or are you seeking to use sockets within your Zoom App?

---

<div class="post-metadata">

**Author:** ![pehk-vc8](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@pehk-vc8](https://devforum.zoom.us/u/pehk-vc8)\
**Post date:** [July 27, 2022, 7:12am UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960/3 "2022-07-27T07:12:45Z")

</div>

Hi Michael, Thanks for your reply.

> [@michael.zoom](#):
>
> are you seeking to use websockets to make API requests to Zoom/Zoom Apps or are you seeking to use sockets within your Zoom App?

I want to use sockets within my zoom app.

Is possible to post /receive message by ‘wss’ protocol between my app server and client?

Thanks.

---

<div class="post-metadata">

**Author:** ![pehk-vc8](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@pehk-vc8](https://devforum.zoom.us/u/pehk-vc8)\
**Post date:** [July 29, 2022, 3:54am UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960/4 "2022-07-29T03:54:19Z")

</div>

Does this mean that it is impossible to apply websocket protocol in zoomapp?

I have added “ws://my socket server path/” in content-security-policy: connect-src, and there will be an error in zoomapp (protocol is not valid)

---

<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:** [August 3, 2022, 8:17pm UTC](https://devforum.zoom.us/t/does-zoom-apps-can-work-with-websocket-server/72960/5 "2022-08-03T20:17:05Z")

</div>

We have an example of using websockets with Zoom Apps in our Custom Layout Sample:

> <https://github.com/zoom/zoomapps-customlayout-js/blob/a5f09b78f324310f774e177f17b3c0419722f01c/app.js#L73>

Let me know if that helps.
