example-data.com
Menu
Browse docs and collections

Overview

notifications / #252

Activity #252

User #102 reply Adrain Kris-Hermiston replied to your comment

1/27/2026, 5:30:16 AM

Component variants

Medium
Small

User #102 reply Adrain Kris-Hermiston replied to your comment · 1/27/2026, 5:30:16 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 252,
  "userId": 102,
  "type": "reply",
  "title": "Adrain Kris-Hermiston replied to your comment",
  "body": "Vesco uberrime adicio crebro peior suasoria credo defungo armarium aegrus.",
  "isRead": false,
  "link": "https://example.com/reply/l6-mRyeP",
  "createdAt": "2026-01-27T05:30:16.761Z"
}