Skip to content

Poll for unread notifications for a user

GET
/v1/notifications/unread

Returns unread notifications for a user_id. Poll this every 30 seconds from your frontend bell component.

Auth: Publishable key — browser-safe.

CORS: Access-Control-Allow-Origin: *. Builder plan required.

user_id
required
string
since
string format: date-time

Unread notifications with poll interval

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties