List Notifications
GET
/api/canvas/notifications
const url = 'https://example.com/api/canvas/notifications?limit=30';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://example.com/api/canvas/notifications?limit=30' \ --header 'Authorization: Bearer <token>'Fetch paginated in-app notifications for the current user.
Returns notifications across all deals, newest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
NotificationsListResponse
object
notifications
required
Notifications
Array<object>
NotificationItemobject
id
required
Id
string
type
required
Type
string
deal_id
required
Deal Id
string
deal_name
required
Deal Name
string
comment_id
required
Comment Id
string
actor_id
required
Actor Id
string
actor_name
required
Actor Name
string
snippet
required
Snippet
string
created_at
required
Created At
string
is_read
required
Is Read
boolean
unread_count
required
Unread Count
integer
has_more
required
Has More
boolean
Examplegenerated
{ "notifications": [ { "id": "example", "type": "example", "deal_id": "example", "deal_name": "example", "comment_id": "example", "section_key": "example", "actor_id": "example", "actor_name": "example", "actor_avatar_url": "example", "snippet": "example", "created_at": "example", "is_read": true, "canvas_url": "example" } ], "unread_count": 1, "has_more": true}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}