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.eyJzdWIiOiIxODQwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTUzLCJleHAiOjE3NDUwNTY5NTMsImp0aSI6IjFiYjMzODFlLTM5OWYtNDIzZC04ZDk1LWNlNGIwYWJjZjE5YiJ9.FiA_56lX5SfrUDYqt_UVz7RiUybWufbF4NV_-D05WQA
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: c09401df-ac13-407b-8f9d-5fa489c01a53
x-runtime: 0.011858
content-length: 53

Body

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