example-data.com
Menu
Browse docs and collections

Overview

notifications / #902

Activity #902

User #127 mention Mazie Douglas mentioned you in a post

1/1/2026, 10:30:36 AM

Component variants

Medium
Small

User #127 mention Mazie Douglas mentioned you in a post · 1/1/2026, 10:30:36 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 902,
  "userId": 127,
  "type": "mention",
  "title": "Mazie Douglas mentioned you in a post",
  "body": "Brevis adflicto currus vivo.",
  "isRead": true,
  "link": "https://example.com/mention/IsEGI2SZ",
  "createdAt": "2026-01-01T10:30:36.561Z"
}