example-data.com
Menu
Browse docs and collections

Overview

notifications / #639

Activity #639

User #211 follow Lawrence Rogahn started following you

7/2/2025, 4:30:08 PM

Component variants

Medium
Small

User #211 follow Lawrence Rogahn started following you · 7/2/2025, 4:30:08 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 639,
  "userId": 211,
  "type": "follow",
  "title": "Lawrence Rogahn started following you",
  "body": "Decens ara conforto accommodo tempora vox viscus voluptatibus aggredior ter.",
  "isRead": false,
  "link": "https://example.com/follow/QXTO0Qg-",
  "createdAt": "2025-07-02T16:30:08.948Z"
}