getArchivedNotifications()
getArchivedNotifications(
options?:GetNotificationsOptions):Promise<GetNotificationsResponse>
Defined in: packages/core/src/index.ts:1400
Get archived notifications for the current user
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | GetNotificationsOptions | Pagination options (page, limit) |
Returns
Promise<GetNotificationsResponse>
Paginated archived notifications
Throws
401 - Not authenticated
Example
import { getArchivedNotifications } from "@cpod/sdk";
const response = await getArchivedNotifications({ page: 1, limit: 50 });
console.log(`${response.total} archived notifications`);