example-data.com
Menu
Browse docs and collections

Overview

notifications / #1988

Activity #1988

User #183 reply Brycen Bayer replied to your comment

12/26/2025, 7:35:48 AM

Component variants

Medium
Small

User #183 reply Brycen Bayer replied to your comment · 12/26/2025, 7:35:48 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1988,
  "userId": 183,
  "type": "reply",
  "title": "Brycen Bayer replied to your comment",
  "body": "Cetera caute campana tersus caritas dolores arguo vinco arbor.",
  "isRead": true,
  "link": "https://example.com/reply/eoYkA7g9",
  "createdAt": "2025-12-26T07:35:48.205Z"
}