example-data.com
Menu
Browse docs and collections

Overview

notifications / #399

Activity #399

User #111 mention Amely Daniel mentioned you in a post

1/1/2026, 11:40:07 AM

Component variants

Medium
Small

User #111 mention Amely Daniel mentioned you in a post · 1/1/2026, 11:40:07 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 399,
  "userId": 111,
  "type": "mention",
  "title": "Amely Daniel mentioned you in a post",
  "body": "Esse tutis admitto armarium credo.",
  "isRead": true,
  "link": "https://example.com/mention/-fyW5qvt",
  "createdAt": "2026-01-01T11:40:07.995Z"
}