example-data.com
Menu
Browse docs and collections

Overview

notifications / #584

Activity #584

User #74 follow Melvina Reilly started following you

1/2/2026, 3:02:41 AM

Component variants

Medium
Small

User #74 follow Melvina Reilly started following you · 1/2/2026, 3:02:41 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 584,
  "userId": 74,
  "type": "follow",
  "title": "Melvina Reilly started following you",
  "body": "Catena amplus cursus sufficio.",
  "isRead": true,
  "link": null,
  "createdAt": "2026-01-02T03:02:41.710Z"
}