example-data.com
Menu
Browse docs and collections

Overview

notifications / #603

Activity #603

User #176 follow Margaretta Barrows started following you

12/10/2025, 5:14:28 PM

Component variants

Medium
Small

User #176 follow Margaretta Barrows started following you · 12/10/2025, 5:14:28 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 603,
  "userId": 176,
  "type": "follow",
  "title": "Margaretta Barrows started following you",
  "body": "Beneficium ago adimpleo triduana.",
  "isRead": true,
  "link": "https://example.com/follow/DfQrCgD0",
  "createdAt": "2025-12-10T17:14:28.448Z"
}