Read the signed-in user’s workspace inbox
GET
/notifications
const url = 'https://api.invogi.com/v1/notifications?limit=20&unread_only=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”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.
Query Parameters
Section titled “Query Parameters”limit
integer
unread_only
string
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
type
required
string
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
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json