example-data.com
Menu
Browse docs and collections

Overview

notifications / #1203

Activity #1203

User #61 like Esperanza Casper liked your post

4/17/2026, 2:49:14 PM

Component variants

Medium
Small

User #61 like Esperanza Casper liked your post · 4/17/2026, 2:49:14 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1203,
  "userId": 61,
  "type": "like",
  "title": "Esperanza Casper liked your post",
  "body": "Thesis adaugeo autem decipio asperiores assumenda aperio.",
  "isRead": false,
  "link": "https://example.com/like/T-hcXNfm",
  "createdAt": "2026-04-17T14:49:14.901Z"
}