example-data.com
Menu
Browse docs and collections

Overview

notifications / #1096

Activity #1096

User #18 system System notification

6/14/2025, 9:29:07 AM

Component variants

Medium
Small

User #18 system System notification · 6/14/2025, 9:29:07 AM

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/notifications/1096" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/notifications/1096"
);
const notification = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/notifications.d.ts https://example-data.com/types/notifications.d.ts
import type { Notification } from "./types/notifications";

const res = await fetch(
  "https://example-data.com/api/v1/notifications/1096"
);
const notification = (await res.json()) as Notification;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/notifications/1096"
)
notification = res.json()

Response

{
  "id": 1096,
  "userId": 18,
  "type": "system",
  "title": "System notification",
  "body": "Tabella nam vulpes solus taceo nisi.",
  "isRead": false,
  "link": "https://example.com/system/A8dbWi7j",
  "createdAt": "2025-06-14T09:29:07.157Z"
}