example-data.com
Menu
Browse docs and collections

Overview

notifications / #667

Activity #667

User #166 follow Karlee MacGyver started following you

1/5/2026, 10:41:29 AM

Component variants

Medium
Small

User #166 follow Karlee MacGyver started following you · 1/5/2026, 10:41:29 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 667,
  "userId": 166,
  "type": "follow",
  "title": "Karlee MacGyver started following you",
  "body": "Ademptio vociferor caries vilicus.",
  "isRead": true,
  "link": "https://example.com/follow/e9Jl70ZU",
  "createdAt": "2026-01-05T10:41:29.632Z"
}