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

# Get recent notifications

> Return recent notifications (email/push) for the current user.



## OpenAPI

````yaml /openapi.json get /api/v1/user/notifications
openapi: 3.1.0
info:
  title: HEVN API
  description: Backend API for HEVN mobile neobank
  version: 0.1.2
servers:
  - url: https://api.hevn.finance
    description: Production
security: []
paths:
  /api/v1/user/notifications:
    get:
      tags:
        - User
      summary: Get recent notifications
      description: Return recent notifications (email/push) for the current user.
      operationId: get_notifications_api_v1_user_notifications_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    NotificationListResponse:
      properties:
        notifications:
          items:
            $ref: '#/components/schemas/NotificationResponse'
          type: array
          title: Notifications
        total:
          type: integer
          title: Total
      type: object
      required:
        - notifications
        - total
      title: NotificationListResponse
      description: List of notifications response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NotificationResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        type:
          $ref: '#/components/schemas/NotificationType'
        channel:
          $ref: '#/components/schemas/NotificationChannel'
        isOpened:
          type: boolean
          title: Isopened
        content:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Content
        createdAt:
          type: string
          format: date-time
          title: Createdat
        deviceName:
          anyOf:
            - type: string
            - type: 'null'
          title: Devicename
        ipAddress:
          anyOf:
            - type: string
            - type: 'null'
          title: Ipaddress
      type: object
      required:
        - id
        - type
        - channel
        - isOpened
        - createdAt
      title: NotificationResponse
      description: Single notification response.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    NotificationType:
      type: string
      enum:
        - login
        - user_created
        - welcome
        - payment_received
        - payment_sent
        - withdrawal
        - invoice
        - invite
        - account_approved
        - sign_request
        - sign_completed
        - team_access
        - bank_account_ready
        - share_kyb
        - payment_claim
        - contact_invite
        - new_device_login
        - new_passkey
        - new_api_key
        - new_team_member
        - privy_key_exported
        - privy_wallet_recovered
        - privy_mfa_disabled
        - contract_payment_methods_updated
        - contract_created
        - contact_added
        - bank_requested
        - card_created
        - card_details_viewed
        - spending_alert
        - low_balance
        - accounting_sync_failed
        - bill_status
        - tx_comment
        - support_reply
        - compliance_reply
      title: NotificationType
      description: Notification type — matches the kind of event being notified.
    NotificationChannel:
      type: string
      enum:
        - email
        - push
        - internal
      title: NotificationChannel
      description: Notification delivery channel.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      x-default: Bearer <token>

````