example-data.com
Menu
Browse docs and collections

Overview

notifications / #1145

Activity #1145

User #203 mention Americo Hoppe mentioned you in a post

10/5/2025, 3:15:44 AM

Component variants

Medium
Small

User #203 mention Americo Hoppe mentioned you in a post · 10/5/2025, 3:15:44 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1145,
  "userId": 203,
  "type": "mention",
  "title": "Americo Hoppe mentioned you in a post",
  "body": "Atque degero bellicus dapifer textus talis id.",
  "isRead": true,
  "link": "https://example.com/mention/G1LPmEK-",
  "createdAt": "2025-10-05T03:15:44.534Z"
}