# Benachrichtigungen über die API erstellen

**URL:** <https://meta.discourse.org/t/creating-notifications-via-the-api/173769>\
**Category:** Development\
**Tags:** notifications, rest-api\
**Created:** [17. Dezember 2020 um 10:55 UTC](https://meta.discourse.org/t/creating-notifications-via-the-api/173769 "2020-12-17T10:55:49Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [29. Februar 2024 um 18:38 UTC](https://meta.discourse.org/t/creating-notifications-via-the-api/173769/13 "2024-02-29T18:38:19Z")

</div>

Sie müssen den `data`-Wert kodieren.

z. B.:

```json
"data": "{\"topic_title\":\"Test\",\"original_post_id\":2222,\"original_post_type\":1,\"original_username\":\"User.Name\",\"revision_number\":1,\"display_username\":\"Text\"}"

```

---

_[View the full topic](https://meta.discourse.org/t/creating-notifications-via-the-api/173769)._
