List the authenticated customer's notifications + unread count
GET
/api/portal/notifications/
const url = 'https://example.com/api/portal/notifications/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/portal/notifications/ \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
Examplegenerated
{ "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "eventType": "example", "title": "example", "body": "example", "readAt": "example", "createdAt": "example" } ], "meta": { "unreadCount": 1 }}