example-data.com
Menu
Browse docs and collections

Overview

notifications / #1478

Activity #1478

User #242 mention Hilda Crooks mentioned you in a post

5/2/2026, 10:44:25 AM

Component variants

Medium
Small

User #242 mention Hilda Crooks mentioned you in a post · 5/2/2026, 10:44:25 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1478,
  "userId": 242,
  "type": "mention",
  "title": "Hilda Crooks mentioned you in a post",
  "body": "Canis summisse decimus demonstro beatae videlicet asperiores tot agnitio.",
  "isRead": false,
  "link": "https://example.com/mention/AU-kOzNg",
  "createdAt": "2026-05-02T10:44:25.407Z"
}