---
name: "getRemainingInfo"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.0.0" }
title: "getRemainingInfo - Get remaining notification count."
summary: "Get remaining notification count."
---

## getRemainingInfo

> [VERSION] @ray-js/lock-sdk >= 1.0.0

### Description

Get remaining notification count

### Parameters

None


### Return Value

Type: `Promise<RemainingInfo>`

Remaining SMS and voice notification count

##### RemainingInfo

| Property | Type | Description |
| --- | --- | --- |
| `message` | `number` | Remaining SMS notification count |
| `phone` | `number` | Remaining voice notification count |

### Examples

#### Example

```ts
import { getRemainingInfo } from '@ray-js/lock-sdk';
const info = await getRemainingInfo();
```
