Notifications

Get user unread notifications count

GET unread count [operator]

Endpoint

GET /api/v1/users/notifications/unread_count

Request

Route

GET /api/v1/users/notifications/unread_count

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxODA5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTkzLCJleHAiOjE3NDAxNDM1OTMsImp0aSI6ImMyZjQzZGRmLTU4N2EtNDNmYi04NDNlLTlhOTJkZTM4Njk3ZSJ9.BuUOzkKZ6PRCWCbdQLYvmyO3mDBcnqDcRjvzIVxJYbY
Host: example.org
Cookie: 

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"7b2a56ad276672bcda5ebcecda13157c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 15981330-184c-4da7-95e2-e5a288200568
x-runtime: 0.012274
content-length: 53

Body

{
  "notifications": 0,
  "timesheets": 0,
  "jobs": 0,
  "chats": 1
}