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.eyJzdWIiOiIxODcxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjI4LCJleHAiOjE3NTU4NTgyMjgsImp0aSI6Ijk4MGFlODRkLWQzNzUtNDE0OS1iYWRiLTJiZDkzYThkMmQ3YyJ9.TswXxGYbo29RLr7wYRpUaXKlTtYr8nYTNOW-jx_CjT4
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: a64134f2-0e77-42e5-9fc6-ced71457cfcf
x-runtime: 0.011529
content-length: 53

Body

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