example-data.com
Menu
Browse docs and collections

Overview

notifications / #394

Activity #394

User #15 mention Ludwig Stiedemann mentioned you in a post

12/3/2025, 8:34:08 PM

Component variants

Medium
Small

User #15 mention Ludwig Stiedemann mentioned you in a post · 12/3/2025, 8:34:08 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 394,
  "userId": 15,
  "type": "mention",
  "title": "Ludwig Stiedemann mentioned you in a post",
  "body": "Voco vergo carcer ipsam capitulus adsuesco admoveo verecundia teneo.",
  "isRead": false,
  "link": "https://example.com/mention/10Cmkd18",
  "createdAt": "2025-12-03T20:34:08.006Z"
}