example-data.com
Menu
Browse docs and collections

Overview

notifications / #726

Activity #726

User #15 reply Jamaal Rolfson replied to your comment

12/28/2025, 11:21:00 PM

Component variants

Medium
Small

User #15 reply Jamaal Rolfson replied to your comment · 12/28/2025, 11:21:00 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 726,
  "userId": 15,
  "type": "reply",
  "title": "Jamaal Rolfson replied to your comment",
  "body": "Animadverto alii voro sit debilito sollers crastinus laudantium quibusdam.",
  "isRead": false,
  "link": "https://example.com/reply/Q_Bq3sK6",
  "createdAt": "2025-12-28T23:21:00.830Z"
}