example-data.com
Menu
Browse docs and collections

Overview

notifications / #1362

Activity #1362

User #219 follow Kevon Dickinson started following you

9/2/2025, 8:44:43 PM

Component variants

Medium
Small

User #219 follow Kevon Dickinson started following you · 9/2/2025, 8:44:43 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1362,
  "userId": 219,
  "type": "follow",
  "title": "Kevon Dickinson started following you",
  "body": "Tergiversatio abutor totidem casus aggredior teres canis in caveo civitas.",
  "isRead": false,
  "link": "https://example.com/follow/y0obXyiF",
  "createdAt": "2025-09-02T20:44:43.913Z"
}