# User Profile Avatar Icon not triggering Webhook

**URL:** https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089
**Category:** Bug
**Created:** [07.Май.2019 17:08:54 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089 "2019-05-07T17:08:54Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chris062689](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris062689/32/120174_2.png) [@chris062689](https://meta.discourse.org/u/chris062689)
#### Post date: [07.Май.2019 17:08:54 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/1 "2019-05-07T17:08:54Z")

</div>

Hello.

I’m running into some unexpected behavior.  
In my Discourse instance (v2.3.0.beta6 +171) I have webhooks setup for User Events.

When a user logs in, logs out, is created, approved or updated.

When I update my profile icon, an event is not generated.

Functionality wise, I would expect this to trigger an event, so I can synchronize the users’ profile icon at the receiving server’s side.

Currently there is no way for me to know when a user has changed their profile icon through webhooks.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Май.2019 07:41:32 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/2 "2019-05-08T07:41:32Z")

</div>

> [@chris062689](#):
>
> When I update my profile icon, an event is not generated.

I see, so this should be under the “user updated” webhook?

---

<div class="post-metadata">

### Author: ![chris062689](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris062689/32/120174_2.png) [@chris062689](https://meta.discourse.org/u/chris062689)
#### Post date: [08.Май.2019 13:49:57 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/3 "2019-05-08T13:49:57Z")

</div>

Yes, I would assume functionality wise for it to trigger a user updated webhook.

Is this possible to implement?

Would it be a generic X-Discourse-Event-Type, or can you include a new event type for `avatar-updated`?

---

<div class="post-metadata">

### Author: ![chris062689](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris062689/32/120174_2.png) [@chris062689](https://meta.discourse.org/u/chris062689)
#### Post date: [17.Май.2019 14:36:47 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/4 "2019-05-17T14:36:47Z")

</div>

Hello.  
Is this still under consideration?

Thanks.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [17.Май.2019 14:51:58 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/5 "2019-05-17T14:51:58Z")

</div>

@maja can you ensure the “user event” webhook triggers whenever a user changes their avatar?

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [04.Июнь.2019 16:31:33 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/7 "2019-06-04T16:31:33Z")

</div>

This is now fixed:

[https://github.com/discourse/discourse/commit/7da875f52aaf2545a2967c0dc42675372f316a75](https://github.com/discourse/discourse/commit/7da875f52aaf2545a2967c0dc42675372f316a75)

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [04.Июнь.2019 16:33:01 UTC](https://meta.discourse.org/t/user-profile-avatar-icon-not-triggering-webhook/117089/8 "2019-06-04T16:33:01Z")

</div>


