example-data.com
Menu
Browse docs and collections

Overview

notifications / #1197

Activity #1197

User #167 follow Dwight Dicki-Medhurst started following you

8/13/2025, 2:35:51 AM

Component variants

Medium
Small

User #167 follow Dwight Dicki-Medhurst started following you · 8/13/2025, 2:35:51 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1197,
  "userId": 167,
  "type": "follow",
  "title": "Dwight Dicki-Medhurst started following you",
  "body": "Balbus reprehenderit suscipio cuppedia iste denuncio venia.",
  "isRead": false,
  "link": "https://example.com/follow/trCY6_98",
  "createdAt": "2025-08-13T02:35:51.134Z"
}