Skip to main content
GET
List recent notifications for the authenticated user

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens

Query Parameters

unread
enum<string>

Filter unread only

Available options:
true,
false

Response

Recent notifications (max 50)

id
string
required

Notification ID

type
string
required
Example:

"machine_expiry"

resource_type
string
required
Example:

"machine"

resource_id
string
required
title
string | null
required
body
string | null
required
severity
enum<string> | null
required
Available options:
info,
warning,
critical,
null
context
object | null
required
read_at
number | null
required

Timestamp when read, null if unread

created_at
number
required