# Can you pass a user field value through a webhook?

**URL:** https://meta.discourse.org/t/can-you-pass-a-user-field-value-through-a-webhook/42562
**Category:** Support
**Created:** [April 14, 2016, 3:32pm UTC](https://meta.discourse.org/t/can-you-pass-a-user-field-value-through-a-webhook/42562 "2016-04-14T15:32:33Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [May 11, 2017, 11:11pm UTC](https://meta.discourse.org/t/can-you-pass-a-user-field-value-through-a-webhook/42562/2 "2017-05-11T23:11:23Z")

</div>

I was wondering the same thing. More generally: what fields are part of the payload for user events, post events, and topic events respectively? Is the following list up to date? If so, the answer to the OP would be no and it would be great if at least custom user fields required at sign-up could be included in the payload (since they are obviously considered important by the admin).

> [@Webhook for Discourse events](https://meta.discourse.org/t/webhook-for-discourse-events/39808/7):
>
> User
> 
> user\_registered and user\_activated
> 
> username, email, name, trust\_level
> 
> trust\_level\_changed
> 
> username, old\_trust\_level, new\_trust\_level
> 
> message\_sent
> 
> sender\_username, receiver\_username, msg\_title, msg\_content
> 
> Do we want the message content to be sent?
> 
> Another option is to define the required information of a user and use it whenever we’re referring to a user. For example, instead of sender\_username we would have sender\_info which has {ID, name, username, email, trust\_level, …}.
> 
> Topic
> 
> Topic\_created
> 
> ID, title, content, creator\_username, categories
> 
> Topic\_liked
> 
> ID, title, username, number\_of\_likes
> 
> Topic\_{pinned,unpinned,archived,closed,invisibled,bookmarked}
> 
> ID, title, username
> 
> Post
> 
> Post\_liked
> 
> post\_ID, topic\_ID, username, number\_of\_likes
> 
> Reply\_posted
> 
> post\_ID, topic\_ID, username, content
> 
> Other
> 
> Auto\_close\_set
> 
> I don’t know what this one means…
> 
> Flag\_raised
> 
> post\_id, topic\_id, reason

---

_[View the full topic](https://meta.discourse.org/t/can-you-pass-a-user-field-value-through-a-webhook/42562)._
