# Websockets on PMS

**URL:** <https://forums.plex.tv/t/websockets-on-pms/68116>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [June 5, 2014, 1:15pm UTC](https://forums.plex.tv/t/websockets-on-pms/68116 "2014-06-05T13:15:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [June 5, 2014, 1:15pm UTC](https://forums.plex.tv/t/websockets-on-pms/68116/1 "2014-06-05T13:15:40Z")

</div>

So I stumbled across this (ws://[127.0.0.1:32400/:/websockets/notifications](http://192.168.1.120:32400/:/websockets/notifications))&nbsp;websocket somwhere on the internet yesterday. I was investigating the new "api" changes to see if they affect the web. I did not know PMS has web sockets so I attempted to connect to it and was greeted by some JSON:

```
{"_elementType":"NotificationContainer","type":"playing","size":1,"_children":[{"_elementType":"PlaySessionStateNotification","sessionKey":"5","guid":"","ratingKey":"82","url":"","key":"/library/metadata/82","viewOffset":1110606,"state":"paused"}]}
{"_elementType":"NotificationContainer","type":"playing","size":1,"_children":[{"_elementType":"PlaySessionStateNotification","sessionKey":"5","guid":"","ratingKey":"82","url":"","key":"/library/metadata/82","viewOffset":1110606,"state":"paused"}]}
{"_elementType":"NotificationContainer","type":"playing","size":1,"_children":[{"_elementType":"PlaySessionStateNotification","sessionKey":"5","guid":"","ratingKey":"82","url":"","key":"/library/metadata/82","viewOffset":1110606,"state":"paused"}]}
{"_elementType":"NotificationContainer","type":"playing","size":1,"_children":[{"_elementType":"PlaySessionStateNotification","sessionKey":"5","guid":"","ratingKey":"82","url":"","key":"/library/metadata/82","viewOffset":1110606,"state":"paused"}]}
```

My question is, are there any more web sockets? I did some digging but did not find anything.

---

<div class="post-metadata">

**Author:** ![gugahoi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gugahoi/32/104768_2.png) [@gugahoi](https://forums.plex.tv/u/gugahoi)\
**Post date:** [June 21, 2014, 3:15am UTC](https://forums.plex.tv/t/websockets-on-pms/68116/2 "2014-06-21T03:15:48Z")

</div>

I know the update info you get on &nbsp;plex web is on a websocket.&nbsp;

---

<div class="post-metadata">

**Author:** ![JimBurlison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jimburlison/32/117872_2.png) [@JimBurlison](https://forums.plex.tv/u/JimBurlison)\
**Post date:** [December 4, 2014, 4:52am UTC](https://forums.plex.tv/t/websockets-on-pms/68116/3 "2014-12-04T04:52:35Z")

</div>

So I was digging for some more info on this and websockets have made their way into some release notes for PMS.&nbsp;[https://blog.plex.tv/2012/11/19/plex-media-server-v0-9-7-3-with-plexweb/](https://blog.plex.tv/2012/11/19/plex-media-server-v0-9-7-3-with-plexweb/)

Its implied there are multiple websocket endpoints and they take user tokens.&nbsp;

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 2:14am UTC](https://forums.plex.tv/t/websockets-on-pms/68116/4 "2019-12-21T02:14:40Z")

</div>

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