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

# List notifications

> List notifications for the authenticated user. Filters by team (or global) and optionally includes cleared notifications.



## OpenAPI

````yaml /api-reference/cx/swagger.json get /notifications
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /notifications:
    get:
      tags:
        - notifications
      summary: List notifications
      description: >-
        List notifications for the authenticated user. Filters by team (or
        global) and optionally includes cleared notifications.
      parameters:
        - description: Include cleared notifications (set to any value)
          name: all
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Notification list
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_notifications.ListNotificationsResponse
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_notifications.ListNotificationsResponse:
      type: object
      properties:
        notifications:
          type: array
          items:
            $ref: '#/components/schemas/types.Notification'
    types.Notification:
      type: object
      properties:
        _id:
          type: string
        body:
          type: string
        cleared_at:
          type: string
        emailed_at:
          type: string
        from:
          type: string
        notified_at:
          type: string
        team:
          type: string
        type:
          type: string
        url:
          type: string
        user:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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