List the latest notifications for the dashboard
const url = 'https://work.optidata.cloud/api/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dashboard/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://work.optidata.cloud/api/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dashboard/notifications \ --header 'Authorization: Bearer <token>'The most recent notifications of the user, already rendered in their locale and time zone. Notifications whose message cannot be rendered are dropped rather than returned empty. The number of items is fixed by the dashboard card configuration.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”UUID of the dashboard owner.
Responses
Section titled “ Responses ”Latest notifications.
One notification delivered to a user, or a tenant-wide announcement.
object
Recipient. null on tenant-wide announcements.
The underlying notification, enriched with a rendered message.
object
Localised, plain-text rendering of the notification.
Example
[ { "notification": { "key": "drive.share.permission_created" } }]Missing, malformed or expired authentication key.
Authentication failures use an error key rather than message.
object
Examples
No bearer token sent
{ "error": "JWT passport exception: Missing bearer token in request"}Rate limit exceeded. Retry after the window resets.
Generic error envelope used by policy, binding and framework failures.
object
Human-readable description of the failure.
Examples
{ "message": "Too Many Attempts."}