> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IOrganizationNotificationService

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-spi/src/organization/notifications/index.ts

This service provides access to organization notifications.

**Signature:**

```typescript
export interface IOrganizationNotificationService 
```

## Methods

| Method | Description |
| --- | --- |
| [getNotificationsQuery()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iorganizationnotificationservice/index.md#iorganizationnotificationservicegetnotificationsquery) | Query list of notifications |
| [markAllNotificationsAsRead()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iorganizationnotificationservice/index.md#iorganizationnotificationservicemarkallnotificationsasread) | Mark all notifications as read |
| [markNotificationAsRead(notificationId)](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iorganizationnotificationservice/index.md#iorganizationnotificationservicemarknotificationasread) | Mark notification as read |

## Method details

### IOrganizationNotificationService.getNotificationsQuery()

Query list of notifications

**Signature:**

```typescript
getNotificationsQuery(): INotificationsQuery;
```
**Returns:**

[INotificationsQuery](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.inotificationsquery/index.md)

### IOrganizationNotificationService.markAllNotificationsAsRead()

Mark all notifications as read

**Signature:**

```typescript
markAllNotificationsAsRead(): Promise<void>;
```
**Returns:**

Promise&lt;void&gt;

### IOrganizationNotificationService.markNotificationAsRead()

Mark notification as read

**Signature:**

```typescript
markNotificationAsRead(notificationId: string): Promise<void>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| notificationId | string |  |

**Returns:**

Promise&lt;void&gt;

Promise resolved with updated notification.
