example-data.com
Menu
Browse docs and collections

Overview

notifications / #1819

Activity #1819

User #213 follow Wendy Borer started following you

9/6/2025, 5:16:59 PM

Component variants

Medium
Small

User #213 follow Wendy Borer started following you · 9/6/2025, 5:16:59 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1819,
  "userId": 213,
  "type": "follow",
  "title": "Wendy Borer started following you",
  "body": "Ventus laudantium carmen vetus thalassinus vae averto sordeo tui voveo.",
  "isRead": true,
  "link": "https://example.com/follow/mx9XpkKx",
  "createdAt": "2025-09-06T17:16:59.259Z"
}