example-data.com
Menu
Browse docs and collections

Overview

notifications / #1431

Activity #1431

User #189 mention Jamaal Rolfson mentioned you in a post

7/22/2025, 12:42:45 AM

Component variants

Medium
Small

User #189 mention Jamaal Rolfson mentioned you in a post · 7/22/2025, 12:42:45 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1431,
  "userId": 189,
  "type": "mention",
  "title": "Jamaal Rolfson mentioned you in a post",
  "body": "Ultio carpo creator strenuus asporto claudeo ocer summa cunabula cerno.",
  "isRead": false,
  "link": "https://example.com/mention/2HtNp74U",
  "createdAt": "2025-07-22T00:42:45.531Z"
}