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

# Activity history (view alerts) for the team, newest-first



## OpenAPI

````yaml https://app.paperlink.online/api/mobile/openapi.json get /api/mobile/activity/feed
openapi: 3.1.0
info:
  title: PaperLink Mobile API
  version: 1.0.0
  description: >-
    Device-session API for the PaperLink mobile app. Tokens are per-user (no
    team baked in); the acting team is sent per request via X-Team-Id and the
    role is resolved live.
  contact:
    name: PaperLink Support
    url: https://paperlink.online
servers:
  - url: https://app.paperlink.online
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: >-
      OAuth 2.1 + PKCE device-session flow: obtain, refresh, and revoke mobile
      tokens.
    x-group: Authentication
  - name: Data
    description: >-
      Team-scoped read endpoints (identity, files, folders, links, views). Send
      the active team via X-Team-Id.
    x-group: Data Access
  - name: Mobile Push
    description: >-
      Per-device Expo push token registration and revocation. Token-only auth
      (no team header).
    x-group: Push Notifications
  - name: Mobile Activity
    description: >-
      Team-scoped Activity read-state: mark alerts read and read the unread
      count. Shared with the web in-app bell.
    x-group: Push Notifications
  - name: Mobile Billing
    description: >-
      Apple In-App Purchase: read the Subscription screen state, verify a
      StoreKit transaction, and restore purchases. Team-scoped (X-Team-Id).
    x-group: Billing
paths:
  /api/mobile/activity/feed:
    get:
      tags:
        - Mobile Activity
      summary: Activity history (view alerts) for the team, newest-first
      operationId: mobileActivityFeed
      parameters:
        - $ref: '#/components/parameters/TeamHeader'
        - name: take
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 30
        - name: cursor
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Activity feed page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MobileActivityFeed'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Not a member of this team
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    TeamHeader:
      name: X-Team-Id
      in: header
      required: true
      schema:
        type: string
        format: uuid
      description: Selected team; the role is resolved live for this team.
  schemas:
    MobileActivityFeed:
      type: object
      required:
        - events
        - nextCursor
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/MobileActivityEvent'
        nextCursor:
          type: string
          nullable: true
    MobileActivityEvent:
      type: object
      required:
        - notificationId
        - eventType
        - targetType
        - targetId
        - itemTitle
        - viewerEmail
        - viewerCountry
        - linkOwnerName
        - occurredAt
        - viewCount
        - unread
      properties:
        notificationId:
          type: string
          format: uuid
        eventType:
          type: string
          enum:
            - DOCUMENT_VIEWED
            - DOCUMENT_VIEWED_RETURNING
            - DOCUMENT_DOWNLOADED
            - LINK_CLICKED
            - NDA_SIGNED
        targetType:
          type: string
          enum:
            - FILE
            - FOLDER
        targetId:
          type: string
          format: uuid
        itemTitle:
          type: string
          nullable: true
        viewerEmail:
          type: string
          nullable: true
        viewerCountry:
          type: string
          nullable: true
        linkOwnerName:
          type: string
          nullable: true
        occurredAt:
          type: string
          format: date-time
        viewCount:
          type: integer
          nullable: true
        unread:
          type: boolean
  responses:
    Unauthorized:
      description: Missing, expired, or revoked token
    RateLimited:
      description: Rate limit exceeded
      headers:
        Retry-After:
          schema:
            type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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