example-data.com
Menu
Browse docs and collections

Overview

notifications / #882

Activity #882

User #172 like Dwight Dicki-Medhurst liked your post

2/16/2026, 3:02:00 AM

Component variants

Medium
Small

User #172 like Dwight Dicki-Medhurst liked your post · 2/16/2026, 3:02:00 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 882,
  "userId": 172,
  "type": "like",
  "title": "Dwight Dicki-Medhurst liked your post",
  "body": "Aedificium patior celebrer peccatus texo caput.",
  "isRead": true,
  "link": "https://example.com/like/_-uVtwDl",
  "createdAt": "2026-02-16T03:02:00.527Z"
}