# JSON Webhooks

**URL:** <https://discuss.elastic.co/t/json-webhooks/1024>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [May 20, 2015, 7:16pm UTC](https://discuss.elastic.co/t/json-webhooks/1024 "2015-05-20T19:16:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mattgolding](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mattgolding](https://discuss.elastic.co/u/mattgolding)\
**Post date:** [June 11, 2015, 12:46am UTC](https://discuss.elastic.co/t/json-webhooks/1024/5 "2015-06-11T00:46:45Z")

</div>

I have the same issue with not being able to deserialize the data in the web server code. I tried @GaelTadh and I did notice a difference with my body code and I can see how that code would work with a single param like the total hits.

My issue however is that I am looking at sending the records that came back in the search as I need to extract some information out of each document and perform some tasks on each one. Is there a way to JSONify the search results to accomplish this? Or is there a better way to do this via a transform or script?

---

_[View the full topic](https://discuss.elastic.co/t/json-webhooks/1024)._
