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.eyJzdWIiOiIxODUwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDc4LCJleHAiOjE3NjM1NDI0NzgsImp0aSI6IjlkMGZjYjY0LWJhZWYtNGRmYS05MTg4LWY3ZjBkZjUxZGI3NyJ9.riSev8DFklnkjt9tVmGm5FsmlerBMSMaQmgfMxc_3-o
Host: example.org
Cookie: 

Body

{
}

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: 22f8f8f6-4927-4d7c-87a6-3bcceff5f85b
x-runtime: 0.012039
content-length: 53

Body

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