# List notifications

URL: https://heaven.dev/docs/reference/account/notification-view
Updated: 2026-11-21

List your latest notifications and unread count. The list includes up to 50 notifications from the last 90 days.

`GET /v1/account/?view=notification`

## Returns

- `data` (object, always present): Your notifications and the number still unread.
  - `notifications` (object[] | null, always present): Notices in the selected page.
    - `items` (object): A notice about your account or a resource you can access.
      - `action` (object): Related dashboard destination, when there is one. May be omitted.
        - `label` (string, always present): Action's display text.
        - `path` (string, always present): Dashboard path, including any query selecting the organization or object.
      - `at` (string (date-time), always present): When the notice was created.
      - `id` (string, always present): Notification ID used to mark it read.
      - `kind` (string, always present): Event category, such as a sharing or billing notice.
      - `line` (string, always present): Notice's explanatory text.
      - `organization` (string): Organization concerned. Omitted for your personal account. May be omitted.
      - `read` (boolean, always present): Whether you have marked it read.
      - `title` (string, always present): Notice's heading.
  - `unread` (integer, always present): Your total number of unread notifications.

## Errors

Each code is explained in full at https://heaven.dev/docs/reference/errors.

| Code | Status | What happened |
|---|---:|---|
| `invalid` | 400 | An input is missing or invalid. |
| `unauthenticated` | 401 | The credential is missing, invalid, expired or revoked. |
| `denied` | 403 | The caller lacks permission for this action. |
| `not_found` | 404 | The resource is absent or inaccessible to this caller. |
| `conflict` | 409 | The request conflicts with the current resource state or an earlier request. |
| `over_capacity` | 409 | The request exceeds a resource or credential allowance. |
| `access_list_full` | 409 | The change would exceed the access-list allowance. |
| `rate_limited` | 429 | The caller's request rate exceeds its limit. |
| `busy` | 429 | Too much work is in progress to accept this request. |
| `unknown` | 503 | The outcome is unconfirmed; a change may have happened. |
| `unavailable` | 503 | The service or requested feature is unavailable. |

## Notes

- API key permission: `notification view`.

## Examples

```sh tab="heaven CLI"
heaven notification view
```

```sh tab="SSH"
ssh cli@heaven.dev notification view
```

```sh tab="cURL"
curl "https://heaven.dev/v1/account/?view=notification" \
  -H "Authorization: Bearer $HEAVEN_API_KEY"
```

```json tab="MCP"
{ "tool": "notification_view",
  "arguments": {  } }
```

Response:

```json title="Response excerpt"
{
  "version": 1,
  "data": {
    "notifications": [
      {
        "at": "2026-11-16T12:00:00Z",
        "id": "d05e9a40-2330-4b8a-acb0-7b33d1e5ec22",
        "kind": "billing:plan",
        "line": "Plan 1 gives you: 2 vCPUs and 8 GiB of memory, 100 GB of storage, 500 GB of outbound traffic a month.",
        "organization": "acme",
        "read": false,
        "title": "Plan 1 is active (acme)"
      }
    ],
    "unread": 1
  }
}
```
