example-data.com
Menu
Browse docs and collections

Overview

notifications / #37

Activity #37

User #79 follow Kennith Hahn started following you

11/23/2025, 5:52:25 AM

Component variants

Medium
Small

User #79 follow Kennith Hahn started following you · 11/23/2025, 5:52:25 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 37,
  "userId": 79,
  "type": "follow",
  "title": "Kennith Hahn started following you",
  "body": "Arceo minus cubitum acquiro villa centum adulescens congregatio.",
  "isRead": true,
  "link": "https://example.com/follow/itWe5Y42",
  "createdAt": "2025-11-23T05:52:25.622Z"
}