example-data.com
Menu
Browse docs and collections

Overview

notifications / #1937

Activity #1937

User #220 reply Era Mitchell replied to your comment

4/4/2026, 1:08:18 PM

Component variants

Medium
Small

User #220 reply Era Mitchell replied to your comment · 4/4/2026, 1:08:18 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1937,
  "userId": 220,
  "type": "reply",
  "title": "Era Mitchell replied to your comment",
  "body": "Colo amicitia attero villa nobis carpo acceptus tricesimus.",
  "isRead": false,
  "link": "https://example.com/reply/QDk5pJbA",
  "createdAt": "2026-04-04T13:08:18.030Z"
}