example-data.com
Menu
Browse docs and collections

Overview

notifications / #231

Activity #231

User #220 mention Minerva Hettinger mentioned you in a post

3/29/2026, 8:32:51 PM

Component variants

Medium
Small

User #220 mention Minerva Hettinger mentioned you in a post · 3/29/2026, 8:32:51 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 231,
  "userId": 220,
  "type": "mention",
  "title": "Minerva Hettinger mentioned you in a post",
  "body": "Uberrime aiunt via.",
  "isRead": false,
  "link": "https://example.com/mention/R-Uf68qR",
  "createdAt": "2026-03-29T20:32:51.527Z"
}