example-data.com
Menu
Browse docs and collections

Overview

notifications / #188

Activity #188

User #196 like Otho Nikolaus liked your post

2/18/2026, 5:52:14 PM

Component variants

Medium
Small

User #196 like Otho Nikolaus liked your post · 2/18/2026, 5:52:14 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 188,
  "userId": 196,
  "type": "like",
  "title": "Otho Nikolaus liked your post",
  "body": "Succedo depromo adamo fuga cernuus acquiro.",
  "isRead": true,
  "link": null,
  "createdAt": "2026-02-18T17:52:14.691Z"
}