example-data.com
Menu
Browse docs and collections

Overview

notifications / #743

Activity #743

User #28 system System notification

11/15/2025, 12:08:24 PM

Component variants

Medium
Small

User #28 system System notification · 11/15/2025, 12:08:24 PM

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/notifications/743"
);
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/743"
);
const notification = (await res.json()) as Notification;

Python example

import requests

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

Response

{
  "id": 743,
  "userId": 28,
  "type": "system",
  "title": "System notification",
  "body": "Defaeco traho spiculum exercitationem vitae sunt cultellus custodia suffragium vado.",
  "isRead": false,
  "link": "https://example.com/system/-xItn_oT",
  "createdAt": "2025-11-15T12:08:24.425Z"
}