example-data.com
Menu
Browse docs and collections

Overview

notifications / #1034

Activity #1034

User #115 follow Carroll Wisozk started following you

4/1/2026, 5:09:56 AM

Component variants

Medium
Small

User #115 follow Carroll Wisozk started following you · 4/1/2026, 5:09:56 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1034,
  "userId": 115,
  "type": "follow",
  "title": "Carroll Wisozk started following you",
  "body": "Absorbeo odio surculus fuga traho tactus doloribus ter.",
  "isRead": true,
  "link": "https://example.com/follow/X10190S8",
  "createdAt": "2026-04-01T05:09:56.537Z"
}