example-data.com
Menu
Browse docs and collections

Overview

notifications / #1548

Activity #1548

User #219 like Jaylon Conroy liked your post

1/8/2026, 1:58:57 AM

Component variants

Medium
Small

User #219 like Jaylon Conroy liked your post · 1/8/2026, 1:58:57 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1548,
  "userId": 219,
  "type": "like",
  "title": "Jaylon Conroy liked your post",
  "body": "Convoco sto tabernus demo distinctio caritas vox.",
  "isRead": false,
  "link": "https://example.com/like/AZiO2Ugn",
  "createdAt": "2026-01-08T01:58:57.968Z"
}