example-data.com
Menu
Browse docs and collections

Overview

notifications / #708

Activity #708

User #41 like Phyllis Hyatt liked your post

2/26/2026, 7:02:10 AM

Component variants

Medium
Small

User #41 like Phyllis Hyatt liked your post · 2/26/2026, 7:02:10 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 708,
  "userId": 41,
  "type": "like",
  "title": "Phyllis Hyatt liked your post",
  "body": "Crudelis creator ducimus delinquo civitas abutor usque.",
  "isRead": true,
  "link": "https://example.com/like/hdmPwV4N",
  "createdAt": "2026-02-26T07:02:10.082Z"
}