# Phoenix and Webhooks

**URL:** <https://forum.elixirforum.com/t/phoenix-and-webhooks/721>\
**Category:** Questions\
**Tags:** webhooks, api, http\_client, phoenix\
**Created:** [May 26, 2016, 8:00am UTC](https://forum.elixirforum.com/t/phoenix-and-webhooks/721 "2016-05-26T08:00:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qqwy](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/qqwy/32/1349_2.png) [@Qqwy](https://forum.elixirforum.com/u/Qqwy)\
**Post date:** [May 26, 2016, 8:00am UTC](https://forum.elixirforum.com/t/phoenix-and-webhooks/721/1 "2016-05-26T08:00:43Z")

</div>

I am building an application. The interface is made with Phoenix. In the background, it sometimes does HTTP requests to a remote API. This remote API wants to call webhooks on my application when the status of one of the resources changes.

However, this is not a concern for my Phoenix interface. I’d rather keep the two (interface and webhooks) separated. What is the best way to do that?

---

<div class="post-metadata">

**Author:** ![tallakt](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tallakt/32/942_2.png) [@tallakt](https://forum.elixirforum.com/u/tallakt)\
**Post date:** [May 26, 2016, 8:53am UTC](https://forum.elixirforum.com/t/phoenix-and-webhooks/721/2 "2016-05-26T08:53:33Z")

</div>

Hi. At ElixirConf EU '16 there were some presentations outlining how to use umbrella applications to separate such concerns in a nice way (I believe it was Lance Halvorsen’s presentation). For communication (callbacks) I would look at Sasa Juric’s presentation, but the TL;DR; is using group names/properties to register ‘callbacks’, like [http://stackoverflow.com/questions/28015469/grouping-processes-with-gproc](http://stackoverflow.com/questions/28015469/grouping-processes-with-gproc)

---

<div class="post-metadata">

**Author:** ![henry-hz](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/henry-hz/32/1318_2.png) [@henry-hz](https://forum.elixirforum.com/u/henry-hz)\
**Post date:** [December 15, 2016, 10:01pm UTC](https://forum.elixirforum.com/t/phoenix-and-webhooks/721/3 "2016-12-15T22:01:00Z")

</div>

[this webhook](https://github.com/camirmas/grapple) lib seems to be promising
