example-data.com
Menu
Browse docs and collections

Overview

notifications / #590

Activity #590

User #120 follow Niko Wisozk started following you

6/22/2025, 5:16:08 PM

Component variants

Medium
Small

User #120 follow Niko Wisozk started following you · 6/22/2025, 5:16:08 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 590,
  "userId": 120,
  "type": "follow",
  "title": "Niko Wisozk started following you",
  "body": "Crur vomer enim aequus averto natus condico conscendo.",
  "isRead": false,
  "link": null,
  "createdAt": "2025-06-22T17:16:08.301Z"
}