Notifications

Get notifications

Get paginated list of notifications. Users can only see their own notifications unless they have admin permissions. Admin users can filter by any userId. Non-admin users can filter by userId only if it equals their own userId.

get/notifications

Request

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

Query parameters

pageinteger

Page number (0-based)

sizeinteger

Page size

sortBystring

Sort field

sortDirstring

Sort direction

flightAuthorizationIdstring uuid

Filter by flight authorization ID

userIdinteger

Filter by user ID (admin only, or non-admin users can filter by their own userId)

typestring

Filter by notification type

category'TRAFFIC' | 'FLIGHT_AUTHORIZATION' | 'GEO_ZONE' | 'ONBOARDING' | 'SYSTEM'

Filter by notification category

fromDatestring

Filter by creation date from (ISO 8601 format: yyyy-MM-ddTHH:mm:ss)

toDatestring

Filter by creation date to (ISO 8601 format: yyyy-MM-ddTHH:mm:ss)

confirmationStatusstring

Filter by confirmation status: unconfirmed, confirmed, all

orgNameboolean

Include organization name in response

Response

Successfully retrieved notifications

pageinteger
sizeinteger
totalElementsinteger
totalPagesinteger
firstboolean
lastboolean

Changes

No recorded changes to this operation across all 1 revision of this API.