example-data.com
Menu
Browse docs and collections

Overview

notifications / #554

Activity #554

User #107 follow Oran Torphy started following you

4/27/2026, 5:14:26 PM

Component variants

Medium
Small

User #107 follow Oran Torphy started following you · 4/27/2026, 5:14:26 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 554,
  "userId": 107,
  "type": "follow",
  "title": "Oran Torphy started following you",
  "body": "Vulgus conitor cervus aptus callide beatae accommodo vilicus totidem.",
  "isRead": true,
  "link": "https://example.com/follow/sp8Ny6zm",
  "createdAt": "2026-04-27T17:14:26.310Z"
}