example-data.com
Menu
Browse docs and collections

Overview

notifications / #414

Activity #414

User #245 follow Jamaal Rolfson started following you

12/13/2025, 10:46:19 AM

Component variants

Medium
Small

User #245 follow Jamaal Rolfson started following you · 12/13/2025, 10:46:19 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 414,
  "userId": 245,
  "type": "follow",
  "title": "Jamaal Rolfson started following you",
  "body": "Crastinus tunc vetus acsi ullus concido arca cunabula absconditus abundans.",
  "isRead": false,
  "link": "https://example.com/follow/LexiwNSX",
  "createdAt": "2025-12-13T10:46:19.657Z"
}