> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkvite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get notifications

> **Scope:** `user:read` · **Rate limit:** 250 requests per 5 minutes



## OpenAPI

````yaml /api-reference/openapi.json get /v1/notifications
openapi: 3.1.0
info:
  contact:
    email: support@linkvite.io
    name: Linkvite
    url: https://linkvite.io
  description: >-
    The Linkvite REST API. Generated from the cultus source by tools/openapi; do
    not edit by hand.
  title: Linkvite API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.linkvite.io
  - description: Staging
    url: https://api-stg.linkvite.io
security: []
tags:
  - description: Keys for scripts and servers acting as your account.
    name: API keys
  - description: OAuth apps you've built, and the apps you've authorized.
    name: Apps
  - description: Links, notes and files you've saved.
    name: Bookmarks
  - description: Folders of bookmarks, private or shared.
    name: Collections
  - description: Discussion on bookmarks in shared collections.
    name: Comments
  - description: Recommendations and trending links.
    name: Explore
  - description: Downloads and share links for uploaded files.
    name: Files
  - description: Highlights and notes on saved pages.
    name: Highlights
  - description: Shareable links that let people join a collection.
    name: Invite links
  - description: Invitations to collaborate on a collection.
    name: Invites
  - description: Your notifications.
    name: Notifications
  - description: Fetch metadata for a link, and import from other services.
    name: Parser
  - description: Plans and subscription status.
    name: Plans
  - description: Public profiles, their collections, follows and blocks.
    name: Profiles
  - description: RSS feeds that save new items into a collection.
    name: RSS feeds
  - description: Reminders to revisit a bookmark.
    name: Reminders
  - description: Search your library, and image search for covers.
    name: Search
  - description: The feed from people you follow.
    name: Social
  - description: Your account, settings, storage and sessions.
    name: User
paths:
  /v1/notifications:
    get:
      tags:
        - Notifications
      summary: Get notifications
      description: '**Scope:** `user:read` · **Rate limit:** 250 requests per 5 minutes'
      operationId: getNotifications
      parameters:
        - in: query
          name: page
          schema:
            default: 1
            type: integer
        - in: query
          name: limit
          schema:
            default: 30
            type: integer
        - in: query
          name: unseen
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/notificationsResponse'
                  message:
                    type: string
                  ok:
                    const: true
                    type: boolean
                required:
                  - ok
                  - data
                type: object
          description: Success
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      security:
        - apiKey: []
        - oauth2:
            - user:read
        - bearer: []
      x-codeSamples:
        - lang: bash
          label: curl
          source: |
            curl -X GET "https://api.linkvite.io/v1/notifications" \
              -H "x-api-key: $LINKVITE_API_KEY"
        - lang: javascript
          label: JavaScript
          source: |-
            import {Linkvite} from '@linkvite/js';

            const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
            const data = await linkvite.notifications.getAll();
        - lang: go
          label: Go
          source: |-
            client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
            data, err := client.Notifications.GetAll(ctx, nil)
components:
  schemas:
    notificationsResponse:
      properties:
        notifications:
          items:
            $ref: '#/components/schemas/Notification'
          type: array
        pagination:
          anyOf:
            - $ref: '#/components/schemas/Pagination'
            - type: 'null'
        unseen:
          format: int64
          type: integer
      required:
        - notifications
        - pagination
        - unseen
      type: object
    Notification:
      properties:
        content:
          type: string
        created_at:
          format: date-time
          type: string
        id:
          type: string
        image:
          type: string
        internal_link:
          type: string
        link:
          type: string
        seen:
          type: boolean
        title:
          type: string
        type:
          enum:
            - bookmark
            - collection
            - comment
            - follow
            - general
            - import
            - invite
            - reminder
            - storage
          type: string
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
      required:
        - content
        - created_at
        - id
        - image
        - internal_link
        - link
        - seen
        - title
        - type
        - updated_at
        - user_id
      type: object
    Pagination:
      properties:
        last_page:
          format: int64
          type: integer
        limit:
          format: int64
          type: integer
        page:
          format: int64
          type: integer
        q:
          type: string
        total:
          format: int64
          type: integer
      required:
        - last_page
        - limit
        - page
        - total
      type: object
    ErrorResponse:
      properties:
        error:
          description: Human-readable message.
          type: string
        errors:
          additionalProperties:
            type: string
          description: Field -> problem, for validation errors.
          type: object
        ok:
          const: false
          type: boolean
        request_id:
          description: Quote this when contacting support (also the X-Request-ID header).
          type: string
      required:
        - ok
      type: object
  responses:
    Error:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Error
  securitySchemes:
    apiKey:
      description: An API key from Settings → Developers.
      in: header
      name: x-api-key
      type: apiKey
    oauth2:
      flows:
        authorizationCode:
          authorizationUrl: https://app.linkvite.io/authorize
          refreshUrl: https://api.linkvite.io/v1/oauth/token
          scopes:
            api-keys:read: Read api-keys
            apps:read: Read apps
            bookmarks:delete: Delete bookmarks
            bookmarks:edit: Edit bookmarks
            bookmarks:read: Read bookmarks
            bookmarks:write: Write bookmarks
            collections:delete: Delete collections
            collections:edit: Edit collections
            collections:read: Read collections
            collections:write: Write collections
            comments:delete: Delete comments
            comments:read: Read comments
            comments:write: Write comments
            explore:read: Read explore
            files:read: Read files
            highlights:delete: Delete highlights
            highlights:edit: Edit highlights
            highlights:read: Read highlights
            highlights:write: Write highlights
            invite-links:delete: Delete invite-links
            invite-links:edit: Edit invite-links
            invite-links:write: Write invite-links
            invites:edit: Edit invites
            invites:read: Read invites
            plans:read: Read plans
            reminders:delete: Delete reminders
            reminders:edit: Edit reminders
            reminders:read: Read reminders
            reminders:write: Write reminders
            rss-feeds:delete: Delete rss-feeds
            rss-feeds:edit: Edit rss-feeds
            rss-feeds:read: Read rss-feeds
            rss-feeds:write: Write rss-feeds
            search:read: Read search
            user:edit: Edit user
            user:read: Read user
            user:storage:read: Storage:read user
            user:trash:delete: Trash:delete user
          tokenUrl: https://api.linkvite.io/v1/oauth/token
      type: oauth2
    bearer:
      description: An access token (OAuth, or a first-party session).
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.