example-data.com
Menu
Browse docs and collections

Overview

notifications / #702

Activity #702

User #36 follow Della Labadie started following you

6/12/2025, 11:28:36 AM

Component variants

Medium
Small

User #36 follow Della Labadie started following you · 6/12/2025, 11:28:36 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 702,
  "userId": 36,
  "type": "follow",
  "title": "Della Labadie started following you",
  "body": "Undique solio volutabrum thesis conscendo verbera.",
  "isRead": true,
  "link": "https://example.com/follow/DV2JGGU9",
  "createdAt": "2025-06-12T11:28:36.811Z"
}