example-data.com
Menu
Browse docs and collections

Overview

notifications / #594

Activity #594

User #82 follow Florencio Mohr started following you

11/6/2025, 1:42:53 PM

Component variants

Medium
Small

User #82 follow Florencio Mohr started following you · 11/6/2025, 1:42:53 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 594,
  "userId": 82,
  "type": "follow",
  "title": "Florencio Mohr started following you",
  "body": "Atqui certus despecto ocer vado tempore conicio victoria derelinquo voluptas.",
  "isRead": true,
  "link": "https://example.com/follow/3O8g2fvS",
  "createdAt": "2025-11-06T13:42:53.623Z"
}