# Webhooks - Plan to set these via API?

**URL:** <https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [February 5, 2017, 2:47pm UTC](https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767 "2017-02-05T14:47:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XEntity](https://avatars.discourse-cdn.com/v4/letter/x/ea666f/32.png) [@XEntity](https://forums.plex.tv/u/XEntity)\
**Post date:** [February 5, 2017, 2:47pm UTC](https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767/1 "2017-02-05T14:47:17Z")

</div>

Hi I’m wondering if there is any plan to allow setting the webhooks via an API such as an authenticated post request?

This would mean a developer could integrate with the user having no technical knowledge…

---

<div class="post-metadata">

**Author:** ![jhopple](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@jhopple](https://forums.plex.tv/u/jhopple)\
**Post date:** [May 22, 2017, 7:39pm UTC](https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767/2 "2017-05-22T19:39:49Z")

</div>

I also would like an answer to this question. I have a need to be able to setup webhooks without user intervention.

---

<div class="post-metadata">

**Author:** ![dydx](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dydx/32/133251_2.png) [@dydx](https://forums.plex.tv/u/dydx)\
**Post date:** [May 24, 2017, 8:28pm UTC](https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767/3 "2017-05-24T20:28:14Z")

</div>

One thing I’ve been doing to replicate any functionality of the Plex Web client is to watch network requests being sent when I use a feature. Sure enough, for displaying and creating webhooks you can see a request goes out to [https://plex.tv/api/v2/user/webhooks](https://plex.tv/api/v2/user/webhooks)

For saving webhooks, this is a POST request

Query string parameters:  
X-Plex-Product:Plex Web  
X-Plex-Version:3.6.0  
X-Plex-Client-Identifier:  
X-Plex-Platform:Chrome  
X-Plex-Platform-Version:58.0  
X-Plex-Device:OSX  
X-Plex-Device-Name:Plex Web (Chrome)  
X-Plex-Device-Screen-Resolution:1238x716,2560x1440  
X-Plex-Token:

Headers:  
Content-Type:application/x-www-form-urlencoded; charset=UTF-8

Form data:  
urls[]:[http://my-sample-webhook-url.com](http://my-sample-webhook-url.com)  
urls[]:[http://my-other-sample-webhook-url.com](http://my-other-sample-webhook-url.com)

Looks like you will need authentication for this (hence the x-plex-token).

---

<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:** [January 8, 2020, 8:02pm UTC](https://forums.plex.tv/t/webhooks-plan-to-set-these-via-api/178767/4 "2020-01-08T20:02:04Z")

</div>


