# Notifications

Manage user notifications.

## Endpoints

| Method | Path                         | Description         |
| ------ | ---------------------------- | ------------------- |
| GET    | `/v1/notifications`          | List notifications  |
| GET    | `/v1/notifications/count`    | Get unread count    |
| POST   | `/v1/notifications/:id/read` | Mark as read        |
| POST   | `/v1/notifications/read-all` | Mark all as read    |
| DELETE | `/v1/notifications/:id`      | Delete notification |

***

### List Notifications

```
GET /v1/notifications
```

```bash
curl https://rest-api.tokenbot.com/v1/notifications \
  -H "X-API-Key: tb_live_your_key"
```

***

### Get Unread Count

```
GET /v1/notifications/count
```

***

### Mark as Read

```
POST /v1/notifications/:id/read
```

***

### Mark All as Read

```
POST /v1/notifications/read-all
```

***

### Delete Notification

```
DELETE /v1/notifications/:id
```
