Skip to content

SDK: inbox

The inbox methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types.

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The inbox area has 6 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).

inboxList

Your notification inbox, newest first, with the unread count

  • Request: GET on /v1/me/inbox
inboxList(args?: { query?: { limit?: string; cursor?: string; unread?: string } }, options?: CallOptions): Promise<InboxListResponse>

inboxPreferencesGet

How you are told about each kind of event: in the app, by email or not at all

  • Request: GET on /v1/me/notification-preferences
inboxPreferencesGet(args?: Record<string, never>, options?: CallOptions): Promise<NotificationPreferences>

inboxPreferencesPut

Set how you are told about the kinds of event you name

  • Request: PUT on /v1/me/notification-preferences
inboxPreferencesPut(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<NotificationPreferences>

inboxRead

Mark one inbox item read

  • Request: POST on /v1/me/inbox/{inboxId}/read
inboxRead(args: { inboxId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<InboxItem>

inboxReadAll

Mark every item in your inbox read

  • Request: POST on /v1/me/inbox/read-all
inboxReadAll(args?: { body?: Record<string, unknown> }, options?: CallOptions): Promise<InboxReadAllResponse>

inboxSnooze

Hide one inbox item until a time you give

  • Request: POST on /v1/me/inbox/{inboxId}/snooze
inboxSnooze(args: { inboxId: string; body: InboxSnoozeRequest }, options?: CallOptions): Promise<InboxItem>
Navigation

Type to search…

↑↓ navigate↵ selectEsc close

Overlane Agent

Ask about the docs. Answers are quoted from the pages, with links. This panel cannot change anything.

    Questions are answered in your browser from the docs index. Nothing you type here is stored or sent anywhere.