---
title: "Get notification by confirmation code"
method: GET
path: "/notifications/by-confirmation-code/{confirmationCode}"
tags: ["Notifications"]
---

# Get notification by confirmation code

`GET /notifications/by-confirmation-code/{confirmationCode}`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/notifications/by-confirmation-code/{confirmationCode}`
- Auth: API key in header `x-auth-token`

Get a notification using its confirmation code. Security is provided by the confirmation code itself.

## Path parameters

- `confirmationCode` string, uuid, required

## Response `200`

Successfully retrieved notification

- 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

## Other responses

- `400`: Invalid confirmation code or notification not found
- `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)
