example-data.com
Menu
Browse docs and collections

Overview

notifications / #1851

Activity #1851

User #246 follow Douglas Frami started following you

5/14/2026, 12:58:32 PM

Component variants

Medium
Small

User #246 follow Douglas Frami started following you · 5/14/2026, 12:58:32 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1851,
  "userId": 246,
  "type": "follow",
  "title": "Douglas Frami started following you",
  "body": "Aperio caelestis asporto surgo trucido aegrotatio aegre arbor excepturi.",
  "isRead": false,
  "link": null,
  "createdAt": "2026-05-14T12:58:32.047Z"
}