example-data.com
Menu
Browse docs and collections

Overview

notifications / #1935

Activity #1935

User #3 like Theresia Collins liked your post

1/27/2026, 3:03:20 PM

Component variants

Medium
Small

User #3 like Theresia Collins liked your post · 1/27/2026, 3:03:20 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1935,
  "userId": 3,
  "type": "like",
  "title": "Theresia Collins liked your post",
  "body": "Tergiversatio pel deripio.",
  "isRead": false,
  "link": "https://example.com/like/kHh1uz3W",
  "createdAt": "2026-01-27T15:03:20.337Z"
}