example-data.com
Menu
Browse docs and collections

Overview

notifications / #65

Activity #65

User #244 follow Kaden Brekke started following you

8/3/2025, 9:17:08 PM

Component variants

Medium
Small

User #244 follow Kaden Brekke started following you · 8/3/2025, 9:17:08 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 65,
  "userId": 244,
  "type": "follow",
  "title": "Kaden Brekke started following you",
  "body": "Vomer demulceo spero vorax sonitus vere.",
  "isRead": true,
  "link": "https://example.com/follow/4m8Jozaf",
  "createdAt": "2025-08-03T21:17:08.905Z"
}