# Different discourse notification\_type

**URL:** https://meta.discourse.org/t/different-discourse-notification-type/248653
**Category:** Support
**Created:** [December 12, 2022, 12:11pm UTC](https://meta.discourse.org/t/different-discourse-notification-type/248653 "2022-12-12T12:11:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hnaseri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hnaseri/32/120660_2.png) [@hnaseri](https://meta.discourse.org/u/hnaseri)
#### Post date: [December 12, 2022, 12:11pm UTC](https://meta.discourse.org/t/different-discourse-notification-type/248653/1 "2022-12-12T12:11:52Z")

</div>

i have a webhook set for firing when notification is created. it has a `notification_type` variable which is a number. I want to know what each number is indicating? I didnt find any doc for it.

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [December 12, 2022, 12:28pm UTC](https://meta.discourse.org/t/different-discourse-notification-type/248653/2 "2022-12-12T12:28:09Z")

</div>

We had a conversation in the past that may be of help:

> [@Creating notifications via the API](https://meta.discourse.org/t/creating-notifications-via-the-api/173769):
>
> Hi, a quick question: Can you send notifications to users with the API? (or another way). In the documentation, I found how to GET notifications of the user, how to mark them as read, but not how to POST some. If it isn’t possible, I guess there is always to possibility of using private messages instead. I would appreciate any input on this. Thanks.

You can find all the existing types here:

> <https://github.com/discourse/discourse/blob/0464f9d2be9663dc8d1c5aa846e25b4ac8b58283/app/models/notification.rb#L105-L142>

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 11, 2023, 12:28pm UTC](https://meta.discourse.org/t/different-discourse-notification-type/248653/3 "2023-01-11T12:28:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
