example-data.com
Menu
Browse docs and collections

Overview

notifications / #41

Activity #41

User #82 like Mara Johnson liked your post

3/19/2026, 5:51:40 AM

Component variants

Medium
Small

User #82 like Mara Johnson liked your post · 3/19/2026, 5:51:40 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 41,
  "userId": 82,
  "type": "like",
  "title": "Mara Johnson liked your post",
  "body": "Cenaculum autem degenero sumo tardus bardus currus verumtamen charisma admoneo.",
  "isRead": false,
  "link": "https://example.com/like/o_UagrJw",
  "createdAt": "2026-03-19T05:51:40.225Z"
}