example-data.com
Menu
Browse docs and collections

Overview

notifications / #795

Activity #795

User #3 like Earlene Wisozk liked your post

10/16/2025, 8:50:57 AM

Component variants

Medium
Small

User #3 like Earlene Wisozk liked your post · 10/16/2025, 8:50:57 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 795,
  "userId": 3,
  "type": "like",
  "title": "Earlene Wisozk liked your post",
  "body": "Utpote vitium triumphus calamitas vereor delego valeo delicate claudeo.",
  "isRead": true,
  "link": "https://example.com/like/7I3n3k-E",
  "createdAt": "2025-10-16T08:50:57.949Z"
}