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

# List my notifications

> Mirrors GraphQL `myNotifications`. Returns `items` + `pagination` (see `PaginatedResponse`) plus `totalUnreadCount` (global unread, not page-only).



## OpenAPI

````yaml https://mcp.echozero.app/api/docs-json get /api/v1/notifications
openapi: 3.0.0
info:
  title: EchoZero MCP API
  description: >-
    EchoZero MCP Server - Developer API for agent management, trading,
    marketplace, and AI chat.


    **Rate Limiting:** All endpoints enforce per-API-key rate limits. Tiers:
    free (60 req/min), standard (300 req/min), premium (1000 req/min). Every
    response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`,
    `X-RateLimit-Reset` headers. Exceeding the limit returns `429 Too Many
    Requests` with a `Retry-After` header.
  version: '1.0'
  contact: {}
servers:
  - url: https://mcp.echozero.app
    description: Production
security: []
tags:
  - name: MCP Protocol
    description: >-
      Model Context Protocol (Streamable HTTP): `/mcp`, `/mcp/sse` — not under
      `/api`; same API key as REST
  - name: Health
    description: Server health check
  - name: API Keys
    description: API key generation, listing, and revocation
  - name: User
    description: >-
      User profile, sessions, social, onboarding, internal agent subscriptions,
      and bot activations (v1: /v1/users/me)
  - name: Token
    description: Token data and trending
  - name: Trade
    description: Trade execution and history
  - name: Strategy
    description: Strategy (trading bot) configuration and control
  - name: Agent
    description: Agent registration and management
  - name: AI
    description: AI chat, intent, and insights
  - name: Wallet
    description: Wallet operations, deposits, and withdrawals
  - name: Notification
    description: Notification management and settings
  - name: Auth
    description: >-
      Public authentication: signup / login lookup, code verification, Google
      OAuth, refresh, and sign-out. Returns `accessToken` / `refreshToken` in
      the JSON body.
  - name: OAuth
    description: >-
      OAuth 2.1 authorization-code + PKCE for AI assistant clients:
      `/oauth/authorize`, `/oauth/token`, `/oauth/introspect`, `/status`.
  - name: Activity
    description: User trade activity list and search
  - name: Feed
    description: Social activity feed timeline
  - name: Earn
    description: Leaderboard, rewards, and referrals
  - name: Statics
    description: Countries, languages, and static data
  - name: Misc
    description: File uploads and utility endpoints
  - name: Developer
    description: Developer registration and profile
  - name: Developer dashboard
    description: >-
      Per-agent dashboard: subscribers (anonymized), performance detail, signal
      history (v1)
  - name: Developer Agent
    description: Developer agent listings and management
  - name: Developer Agents (Marketplace)
    description: Public browse, search, and subscribe to external developer-listed agents
  - name: Admin
    description: Admin-only endpoints for review, approval, and platform management
  - name: Webhooks
    description: >-
      Inbound provider webhooks (no API key). Telegram signal-bot uses
      `X-Telegram-Bot-Api-Secret-Token` when configured.
paths:
  /api/v1/notifications:
    get:
      tags:
        - Notification
      summary: List my notifications
      description: >-
        Mirrors GraphQL `myNotifications`. Returns `items` + `pagination` (see
        `PaginatedResponse`) plus `totalUnreadCount` (global unread, not
        page-only).
      operationId: McpNotificationController_myNotifications
      parameters:
        - name: limit
          required: false
          in: query
          description: Page size (max 100)
          schema:
            type: number
            default: 20
        - name: offset
          required: false
          in: query
          schema:
            type: number
            default: 0
        - name: order
          required: false
          in: query
          schema:
            type: string
            enum:
              - ASC
              - DESC
            default: DESC
        - name: orderBy
          required: false
          in: query
          schema:
            type: string
            enum:
              - _id
              - sendsAt
              - markAsRead
            default: _id
        - name: query
          required: false
          in: query
          description: Search in title and body (same as GraphQL filter.query)
          schema:
            type: string
        - name: types
          required: false
          in: query
          description: >-
            Comma-separated `NotificationType` values (e.g.
            `NEW_PICKS,WALLET_UPDATE`)
          schema:
            type: string
        - name: unreadOnly
          required: false
          in: query
          description: true = unread only, false = read only, omit = all
          schema:
            type: boolean
        - name: x-signature
          in: header
          required: false
          description: >-
            HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD +
            path + body). Optional -- when omitted, HMAC verification is
            skipped.
          schema:
            type: string
        - name: x-timestamp
          in: header
          required: false
          description: >-
            Request timestamp in epoch milliseconds. Required when x-signature
            is provided. Rejected if drift exceeds 5 minutes.
          schema:
            type: string
      responses:
        '200':
          description: Paginated notifications with unread total.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/McpSuccessResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/McpNotificationsListDataDto'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    McpSuccessResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          description: Endpoint-specific payload
          additionalProperties: true
      required:
        - success
        - data
    McpNotificationsListDataDto:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/McpNotificationItemDto'
        pagination:
          $ref: '#/components/schemas/PaginationMetaDto'
        totalUnreadCount:
          type: number
          description: Unread count across all notifications (not only this page)
      required:
        - items
        - pagination
        - totalUnreadCount
    McpErrorResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          $ref: '#/components/schemas/McpErrorBodyDto'
      required:
        - success
        - error
    McpNotificationItemDto:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        body:
          type: string
        sendsAt:
          type: string
          format: date-time
        markAsRead:
          type: boolean
        notificationTokens:
          type: array
          items:
            type: string
        wsProcessedAt:
          type: string
          format: date-time
        fbProcessedAt:
          type: string
          format: date-time
        webPushLink:
          type: string
        androidActionClick:
          type: string
        iosCategory:
          type: string
        imageUrl:
          type: string
        user:
          type: string
        template:
          type: string
        event:
          type: string
        type:
          type: string
          enum:
            - NEW_PICKS
            - EVENT_STARTED
            - EVENT_ENDED
            - EVENT_CLOSE_SOON
            - CLAIM_REWARDS
            - WALLET_UPDATE
            - WALLET_TRANSACTION
            - TRADE_EXECUTION
            - NEW_TRADE_RECOMMENDATION
            - TRADE_UPDATE
            - SIGNAL_ALERT
            - TRADE_CLOSED
            - ALERT
            - NEWS_OFFERS_PROMOTIONS
            - PRICE_ALERT_TRIGGERED
            - STOP_LOSS_TRIGGERED
            - AGENT_WENT_PRIVATE
            - AGENT_PAUSED
            - AGENT_DELETED
        customNotification:
          type: string
        isClicked:
          type: boolean
        fbTitle:
          type: string
        fbBody:
          type: string
      required:
        - id
        - title
        - body
        - sendsAt
        - markAsRead
        - notificationTokens
        - user
    PaginationMetaDto:
      type: object
      properties:
        total:
          type: number
        limit:
          type: number
        page:
          type: number
        totalPages:
          type: number
        hasNextPage:
          type: boolean
        hasPreviousPage:
          type: boolean
      required:
        - total
        - limit
        - page
        - totalPages
        - hasNextPage
        - hasPreviousPage
    McpErrorBodyDto:
      type: object
      properties:
        code:
          type: string
          example: NOT_FOUND
        message:
          type: string
          example: Resource not found
      required:
        - code
        - message
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key

````