# Sending Notifications

Apps that want to use our notification protocol will receive access to a notification dashboard from where they can send notifications. They will be able to see several subscribed public keys, their casts, and other general statistics.

Apart from the dashboard, we provide **API** **endpoints** that let apps integrate notifications in their custom business flows.&#x20;

Apps can send two types of notifications - **broadcast** and **unicast**.&#x20;

* Broadcast notifications are sent to **all** public keys subscribed to the app.
* Unicast notifications are sent to a **single** targeted public key that is subscribed to the dApp.

Broadcast notifications are **not** sent immediately; they are subject to review before being sent to users.

![Creating a cast](https://2465042048-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgv3_8586v0mVL4zZax%2Fuploads%2FwtDhqN8HZqbOSfq2AIsq%2Fimage.png?alt=media\&token=2367c995-418a-4f28-897c-2b19ed9752d8)

#### Notification contains

| Field             | Mandatory | Note                        |
| ----------------- | --------- | --------------------------- |
| Title             | Y         |                             |
| Body              | Y         |                             |
| Icon              | Y         | Only shown on web           |
| Image             | N         | Only shown on mobile        |
| Action URL        | N         | Only works on web           |
| Platform          | Y         |                             |
| Cast time         | Y\*       | For broadcast notifications |
| Topic             | Y         |                             |
| Target Public Key | Y\*       | For unicast notifications   |

### Notification Topics <a href="#topics" id="topics"></a>

There are 3 default Notification Topics, users have options to opt-out of specific topics.&#x20;

Currently, we have:&#x20;

**General** - Used for marketing and general announcements&#x20;

**Security** - Used for announcements about security issues&#x20;

**Transactional** - Used when targeting specific/single user(s) about some event/transaction, etc.
