example-data.com
Menu
Browse docs and collections

Overview

notifications / #237

Activity #237

User #249 follow Ressie Howell-Hodkiewicz started following you

6/19/2025, 12:18:43 PM

Component variants

Medium
Small

User #249 follow Ressie Howell-Hodkiewicz started following you · 6/19/2025, 12:18:43 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 237,
  "userId": 249,
  "type": "follow",
  "title": "Ressie Howell-Hodkiewicz started following you",
  "body": "Vis dens voluptate assumenda adamo vester acquiro maiores vado adnuo.",
  "isRead": true,
  "link": "https://example.com/follow/MZyh7rpM",
  "createdAt": "2025-06-19T12:18:43.973Z"
}