# IRPCEvents.GetNotificationConfiguration

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Events and notifications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/GetNotificationConfiguration/

Badges: `Vault API / standard` `read` `session` `idempotent` `returns metadata structure version`

Tells whether the caller has notifications turned on.

- **Service:** [Events and notifications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/index.md) `MFiles.IRPCEvents`
- **gRPC method:** `/MFiles.IRPCEvents/GetNotificationConfiguration`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-notification-configuration`
- **Request:** [`GetNotificationConfigurationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/GetNotificationConfiguration/index.md#request)
- **Response:** [`GetNotificationConfigurationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEvents/GetNotificationConfiguration/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** read
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** yes (in the mfiles-metadata-version-bin trailer)
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Requires a vault session. No special vault rights are needed.
- Only `is_enabled` is used; the other flags are always false here.

<a id="request"></a>

## Request: GetNotificationConfigurationRequest

No fields.

<a id="response"></a>

## Response: GetNotificationConfigurationResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `pflags` | [`NOTIFICATIONFLAGS`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NOTIFICATIONFLAGS/index.md) | The caller's notification switch. `is_enabled` is true when the caller receives notifications. |
| `pflags.all` | `bool` | Specifies all flags set; Including any future flags. |
| `pflags.is_enabled` | `bool` | Notifications enabled. |
| `pflags.send_digest` | `bool` | Combine the day's notifications into a single message. |
| `pflags.exclude_self_triggered` | `bool` | Exclude notifications of events caused by me. |
| `pflags.recurring` | `bool` | Notifications are recurring (not only appear once per a matching object). |
