example-data.com
Menu
Browse docs and collections

Overview

notifications / #98

Activity #98

User #79 follow Arnaldo Friesen started following you

10/26/2025, 9:47:37 AM

Component variants

Medium
Small

User #79 follow Arnaldo Friesen started following you · 10/26/2025, 9:47:37 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 98,
  "userId": 79,
  "type": "follow",
  "title": "Arnaldo Friesen started following you",
  "body": "Ver triumphus absens constans bene delicate.",
  "isRead": true,
  "link": "https://example.com/follow/L09_nvPr",
  "createdAt": "2025-10-26T09:47:37.674Z"
}