Skip to content

Read the signed-in user’s workspace inbox

GET
/notifications
curl --request GET \
--url 'https://api.invogi.com/v1/notifications?limit=20&unread_only=true' \
--header 'Authorization: Bearer <token>'

Signed-in users only; the inbox is scoped to both the selected workspace and the user.

X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

limit
integer
default: 20 >= 1 <= 100
unread_only
string
Allowed values: true false

Successful response

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
type
required
string
Allowed values: FINDING_ASSIGNED FINDINGS_BULK_ASSIGNED FINDING_REVIEW_OVERDUE USAGE_THRESHOLD_REACHED SCAN_COMPLETED RECOVERY_ASSIGNED RECOVERY_ACTION_DUE UPGRADE_REQUESTED MONITORING_TRIAL BANK_CHANGE_RECEIVED BANK_ACCOUNT_SECOND_CHECK
title
required
string
body
required
string
link_path
required
string
open_path
required
string
read_at
required
null | string
created_at
required
string
unread_count
required
number

Example

{
"data": [
{
"type": "FINDING_ASSIGNED"
}
]
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}