Skip to content
ProductBlogOpen console
API

List notifications for the authenticated user

GET
/notifications
curl --request GET \
--url 'https://mw.omazy.ai/api/v1/notifications?limit=25&unread_only=false' \
--header 'Authorization: <Authorization>'
cursor
string

Pagination cursor

limit
integer
default: 25

Items per page (max 100)

unread_only
boolean

Filter to unread only

OK

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
data
Array<object>
object
body
string
conversation_id
string
created_at
string
id
string
is_read
boolean
payload
Array<integer>
read_at
string
session_id
string
title
string
type
string
Allowed values: chat_message session_assigned session_resolved takeoff_initiated data_share_revoked system
meta
object
next_cursor
string
per_page
integer
unread_count
integer
Example
{
"data": [
{
"type": "chat_message"
}
]
}

Unauthorized

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
error
object
code
string
message
string
Examplegenerated
{
"data": "example",
"error": {
"code": "example",
"message": "example"
},
"meta": {
"next_cursor": "example",
"page": 1,
"per_page": 1,
"total": 1
},
"success": true
}