example-data.com
Menu
Browse docs and collections

Overview

notifications / #983

Activity #983

User #213 follow Sam Hegmann-Jast started following you

12/16/2025, 11:20:27 PM

Component variants

Medium
Small

User #213 follow Sam Hegmann-Jast started following you · 12/16/2025, 11:20:27 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 983,
  "userId": 213,
  "type": "follow",
  "title": "Sam Hegmann-Jast started following you",
  "body": "Depromo adsidue utpote aperiam accusantium dolorum cornu acsi alii.",
  "isRead": true,
  "link": "https://example.com/follow/ivIQzM-u",
  "createdAt": "2025-12-16T23:20:27.605Z"
}