TypeScript
const options = {method: 'GET', headers: {cookie: 'session='}}; fetch('https://api.example.com/v1/regions/global/notifications/inbox/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "id": "<string>", "category": "system", "priority": "low", "title": "<string>", "message": "<string>", "read": true, "createdAt": "2023-11-07T05:31:56Z", "resourceType": "<string>", "resourceId": "<string>", "actionUrl": "<string>", "clickActionUrl": "<string>", "primaryActionLabel": "<string>", "primaryActionUrl": "<string>", "secondaryActionLabel": "<string>", "secondaryActionUrl": "<string>", "readAt": "2023-11-07T05:31:56Z" }, "meta": {} }
Get single notification by ID
Session-based authentication via HTTP-only cookie
Notification details
true
Notification entity
Show child attributes
Was this page helpful?