example-data.com
Menu
Browse docs and collections

Overview

notifications / #304

Activity #304

User #8 follow Nikko Kuhlman started following you

12/11/2025, 7:02:19 PM

Component variants

Medium
Small

User #8 follow Nikko Kuhlman started following you · 12/11/2025, 7:02:19 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 304,
  "userId": 8,
  "type": "follow",
  "title": "Nikko Kuhlman started following you",
  "body": "Comminor repellat tempora desparatus.",
  "isRead": false,
  "link": "https://example.com/follow/MGYVWrPP",
  "createdAt": "2025-12-11T19:02:19.542Z"
}