# \[REL\] Metadata Webhook Agent

**URL:** <https://forums.plex.tv/t/rel-metadata-webhook-agent/179199>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [February 8, 2017, 7:43pm UTC](https://forums.plex.tv/t/rel-metadata-webhook-agent/179199 "2017-02-08T19:43:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daeks](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/daeks/32/17467_2.png) [@daeks](https://forums.plex.tv/u/daeks)\
**Post date:** [February 8, 2017, 7:43pm UTC](https://forums.plex.tv/t/rel-metadata-webhook-agent/179199/1 "2017-02-08T19:43:00Z")

</div>

This Metadata Agent is supposed to be an extension to the webhook mechanism. On a metadata refresh it fetches the combined metadata and sends it as POST payload to a given webhook.

The output on the webhook looks something like

```
Array
(
    [payload] => {
      "title_sort": "Test", 
      "title": "Test Movie - The final Movie", 
      "root_file": "test_movie", 
      "summary": "I am a dummy summary of a movie", 
      "event": "metadata", 
      "ext": ".mp4", 
      "provider": "com.plexapp.agents.argustv", 
      "guid": "com.plexapp.agents.none://97c3089b8de993085107dd53c39de81df32a46ea?lang=xn", 
      "id": "565957"
   }    
)

```

**Download**  
Source: [https://github.com/daeks/Webhook-Agent.bundle](https://github.com/daeks/Webhook-Agent.bundle)

**Installation**  
See the [How do I manually install a channel?](https://support.plex.tv/hc/en-us/articles/201187656-How-do-I-manually-install-a-channel- "How do I manually install a channel?") support article.

---

<div class="post-metadata">

**Author:** ![daeks](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/daeks/32/17467_2.png) [@daeks](https://forums.plex.tv/u/daeks)\
**Post date:** [October 1, 2017, 10:31pm UTC](https://forums.plex.tv/t/rel-metadata-webhook-agent/179199/2 "2017-10-01T22:31:55Z")

</div>

Updated Agent and released it.

---

<div class="post-metadata">

**Author:** ![daeks](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/daeks/32/17467_2.png) [@daeks](https://forums.plex.tv/u/daeks)\
**Post date:** [February 26, 2018, 4:02pm UTC](https://forums.plex.tv/t/rel-metadata-webhook-agent/179199/3 "2018-02-26T16:02:49Z")

</div>

- Added support for tv shows

---

<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/rel-metadata-webhook-agent/179199/4 "2020-01-08T20:02:15Z")

</div>


