example-data.com
Menu
Browse docs and collections

Overview

notifications / #1580

Activity #1580

User #154 reply Tabitha Ruecker replied to your comment

4/19/2026, 3:53:40 PM

Component variants

Medium
Small

User #154 reply Tabitha Ruecker replied to your comment · 4/19/2026, 3:53:40 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1580,
  "userId": 154,
  "type": "reply",
  "title": "Tabitha Ruecker replied to your comment",
  "body": "Aeger utique curto vergo caecus.",
  "isRead": false,
  "link": "https://example.com/reply/r-i6QDuq",
  "createdAt": "2026-04-19T15:53:40.879Z"
}