example-data.com
Menu
Browse docs and collections

Overview

notifications / #561

Activity #561

User #71 mention Carroll Wisozk mentioned you in a post

5/28/2025, 1:47:18 AM

Component variants

Medium
Small

User #71 mention Carroll Wisozk mentioned you in a post · 5/28/2025, 1:47:18 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 561,
  "userId": 71,
  "type": "mention",
  "title": "Carroll Wisozk mentioned you in a post",
  "body": "Venia corrumpo tergo voluptates synagoga celer aetas absconditus arcesso.",
  "isRead": true,
  "link": "https://example.com/mention/A55LCuGE",
  "createdAt": "2025-05-28T01:47:18.867Z"
}