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

# List Notifications



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/hubs/{hub_id}/notifications
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/hubs/{hub_id}/notifications:
    get:
      tags:
        - notifications
      summary: List Notifications
      operationId: notifications.get_notifications_get_hubs_by_hub_id_notifications
      parameters:
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: query
          name: page[size]
          required: false
          schema:
            default: 20
            maximum: 100
            minimum: 1
            title: Page[Size]
            type: integer
        - in: query
          name: page[after]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Page[After]
        - in: query
          name: filter[status]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Filter[Status]
        - in: query
          name: filter[category]
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/NotificationCategoryParam'
              - type: 'null'
            title: Filter[Category]
        - in: query
          name: filter[kind]
          required: false
          schema:
            anyOf:
              - maxLength: 64
                type: string
              - type: 'null'
            title: Filter[Kind]
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotificationListResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    NotificationCategoryParam:
      enum:
        - transactional
        - content
        - community
        - moderation
      title: NotificationCategoryParam
      type: string
    NotificationListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/JsonApiResource_NotificationAttributes_'
          title: Data
          type: array
        meta:
          $ref: '#/components/schemas/NotificationListMeta'
      required:
        - data
        - meta
      title: NotificationListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_NotificationAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/NotificationAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[NotificationAttributes]
      type: object
    NotificationListMeta:
      properties:
        page:
          $ref: '#/components/schemas/NotificationPageMeta'
        unread_count:
          title: Unread Count
          type: integer
      required:
        - unread_count
        - page
      title: NotificationListMeta
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    NotificationAttributes:
      properties:
        actor:
          anyOf:
            - $ref: '#/components/schemas/NotificationActor'
            - type: 'null'
        actors:
          anyOf:
            - items:
                $ref: '#/components/schemas/NotificationActor'
              type: array
            - type: 'null'
          title: Actors
        category:
          title: Category
          type: string
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
        created_at:
          format: date-time
          title: Created At
          type: string
        deep_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Deep Link
        highlight:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Highlight
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        kind:
          title: Kind
          type: string
        preview:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview
        priority:
          title: Priority
          type: string
        read:
          title: Read
          type: boolean
        subject:
          anyOf:
            - $ref: '#/components/schemas/NotificationSubject'
            - type: 'null'
        target:
          anyOf:
            - $ref: '#/components/schemas/NotificationTarget'
            - type: 'null'
      required:
        - category
        - kind
        - priority
        - read
        - created_at
      title: NotificationAttributes
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
    NotificationPageMeta:
      description: Nested page info inside list meta.
      properties:
        has_more:
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - has_more
      title: NotificationPageMeta
      type: object
    NotificationActor:
      description: Embedded actor object in notification attributes.
      properties:
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        contact_id:
          title: Contact Id
          type: string
        name:
          title: Name
          type: string
      required:
        - contact_id
        - name
      title: NotificationActor
      type: object
    NotificationSubject:
      properties:
        id:
          title: Id
          type: string
        type:
          title: Type
          type: string
      required:
        - type
        - id
      title: NotificationSubject
      type: object
    NotificationTarget:
      description: Embedded target object in notification attributes.
      properties:
        id:
          title: Id
          type: string
        label:
          title: Label
          type: string
        type:
          title: Type
          type: string
      required:
        - type
        - id
        - label
      title: NotificationTarget
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````