Notifications

Get user unread notifications count

GET unread count [driver]

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.eyJzdWIiOiIxODU5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTQwLCJleHAiOjE3NTExMDg1NDAsImp0aSI6IjQ4NWQ5Y2RhLTY1ZTEtNDI1Yi1iMDY1LTI5NWY0ZDAyY2EzNyJ9.1-xAUP0hNZkpf8i2wqKVpwJg-PXDQp_OYV_FspVhiVI
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/"dcb828b1f97b3a5534f5b54e21510172"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5b9650ad-174d-42c2-859b-185c78d7d3e4
x-runtime: 0.009326
content-length: 53

Body

{
  "notifications": 3,
  "contract_extentions": 1,
  "chats": 0
}