Skip to main content
GET
/
cabinet
/
tickets
/
notifications
Get User Notifications
curl --request GET \
  --url http://localhost:8080/cabinet/tickets/notifications
{
  "items": [
    {
      "id": 123,
      "ticket_id": 123,
      "notification_type": "<string>",
      "is_read": true,
      "created_at": "2023-11-07T05:31:56Z",
      "message": "<string>",
      "read_at": "2023-11-07T05:31:56Z"
    }
  ],
  "unread_count": 123
}

Query Parameters

unread_only
boolean
default:false

Only return unread notifications

limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

List of ticket notifications.

items
TicketNotificationResponse · object[]
required
unread_count
integer
required