---
title: "Get notifications with priority sorting"
method: GET
path: "/notifications/priority"
tags: ["Notifications"]
---

# Get notifications with priority sorting

`GET /notifications/priority`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/notifications/priority`
- Auth: API key in header `x-auth-token`

Get paginated list of notifications with priority sorting (unconfirmed notifications first, then by creation date). Users can only see their own notifications unless they have admin permissions.

## Query parameters

- `page` integer
- `size` integer
- `flightAuthorizationId` string, uuid
- `userId` integer
- `orgName` boolean

## Response `200`

Successfully retrieved notifications

- NotificationListResponseDTO
  - `notifications` NotificationDTO[]
    - `id` string, uuid
    - `type` string
    - `category` 'TRAFFIC' | 'FLIGHT_AUTHORIZATION' | 'GEO_ZONE' | 'ONBOARDING' | 'SYSTEM'
    - `severity` 'S5_CATASTROPHIC' | 'S4_HAZARDOUS' | 'S3_MAJOR' | 'S2_MINOR' | 'S1_NEGLIGIBLE'
    - `priority` 'P0_IMMEDIATE' | 'P1_HIGH' | 'P2_MEDIUM' | 'P3_LOW' | 'P4_INFO'
    - `confidence` 'CONFIRMED' | 'LIKELY' | 'POSSIBLE'
    - `title` string
    - `message` string
    - `organizationId` integer
    - `organizationName` string
    - `recipientId` integer
    - `recipientName` string
    - `recipientPhone` string
    - `recipientRoleName` string
    - `flightAuthorizationId` string, uuid
    - `flightAuthorizationName` string
    - `status` 'PENDING' | 'SENT' | 'DELIVERED' | 'READ' | 'CONFIRMED' | 'EXPIRED' | 'FAILED'
    - `requiresConfirmation` boolean
    - `confirmationCode` string, uuid
    - `timeToHazardMinutes` integer
    - `createdAt` string, date-time
    - `sentAt` string, date-time
    - `readAt` string, date-time
    - `confirmedAt` string, date-time
    - `confirmedBy` integer
    - `expiresAt` string, date-time
    - `metadata` string
    - `channels` string[]
    - `deliveries` NotificationDeliveryDTO[]
      - `id` integer
      - `channel` 'IN_APP' | 'EMAIL' | 'SMS' | 'PUSH_NOTIFICATION' | 'WEBHOOK' | 'SLACK'
      - `status` 'DRAFT' | 'PENDING' | 'SENT' | 'DELIVERED' | 'FAILED' | 'BOUNCED'
      - `sentAt` string, date-time
      - `deliveredAt` string, date-time
      - `failedAt` string, date-time
      - `failureReason` string
      - `externalId` string
  - `statistics` NotificationStatisticsDTO
    - `unreadCount` integer
    - `unconfirmedCount` integer
  - `page` integer
  - `size` integer
  - `totalElements` integer
  - `totalPages` integer
  - `first` boolean
  - `last` boolean

## Other responses

- `400`: Invalid parameters
- `403`: Access denied
- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
