# User ignore feature: webhook and API

**URL:** https://meta.discourse.org/t/user-ignore-feature-webhook-and-api/122247
**Category:** Feature
**Created:** [July 7, 2019, 2:14am UTC](https://meta.discourse.org/t/user-ignore-feature-webhook-and-api/122247 "2019-07-07T02:14:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![averymd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/averymd/32/120997_2.png) [@averymd](https://meta.discourse.org/u/averymd)
#### Post date: [July 7, 2019, 2:14am UTC](https://meta.discourse.org/t/user-ignore-feature-webhook-and-api/122247/1 "2019-07-07T02:14:01Z")

</div>

It would be excellent if the “User Event” webhook fired when a user chooses to ignore another user, and if the list of users ignored by someone could be updated via the API.

**My use case** : I’m running a site/browser-based game that uses single-sign on to have a smooth user system with Discourse. It’s possible in the game to block another player, and I want to also ignore that player in the forums on their behalf. Without that, I can only provide messaging to the user that they will need to manually ignore the user on the forum.

Similarly, I’d like forum ignores to fire the User Event webhook so that I can block the player on the game side for them.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 11, 2019, 2:06pm UTC](https://meta.discourse.org/t/user-ignore-feature-webhook-and-api/122247/4 "2019-07-11T14:06:04Z")

</div>

> [@averymd](#):
>
> I’d like forum ignores to fire the User Event webhook so that I can block the player on the game side for them.

This makes sense, a new user ignored should trigger user-updated, as most thing in the profile already do.

> [@averymd](#):
>
> the list of users ignored by someone could be updated via the API.

Everything in the Discourse UI can be done via the API.

Read [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) to learn how and you will find:

```plaintext
curl 'https://meta.discourse.org/u/averymd/notification_level.json' -X PUT --data 'notification_level=ignore&expiring_at=2019-07-11+18%3A00-03%3A00'

```

---

<div class="post-metadata">

### Author: ![averymd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/averymd/32/120997_2.png) [@averymd](https://meta.discourse.org/u/averymd)
#### Post date: [July 11, 2019, 4:34pm UTC](https://meta.discourse.org/t/user-ignore-feature-webhook-and-api/122247/5 "2019-07-11T16:34:00Z")

</div>

> [@Falco](#):
>
> Everything in the Discourse UI can be done via the API.
> 
> Read [How to reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) to learn how and you will find:
> 
> ```plaintext
> curl 'https://meta.discourse.org/u/averymd/notification_level.json' -X PUT --data 'notification_level=ignore&expiring_at=2019-07-11+18%3A00-03%3A00'
> 
> ```

This works perfectly, and will help the user experience. Thank you! I hope the webhook side makes its way into the backlog.
