example-data.com
Menu
Browse docs and collections

Overview

notifications / #912

Activity #912

User #76 follow Oliver Mitchell started following you

1/21/2026, 6:36:12 AM

Component variants

Medium
Small

User #76 follow Oliver Mitchell started following you · 1/21/2026, 6:36:12 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 912,
  "userId": 76,
  "type": "follow",
  "title": "Oliver Mitchell started following you",
  "body": "Vulgaris conicio tonsor autus varietas casso nesciunt catena autem delego.",
  "isRead": false,
  "link": "https://example.com/follow/Ywq8OMBQ",
  "createdAt": "2026-01-21T06:36:12.987Z"
}