example-data.com
Menu
Browse docs and collections

Overview

notifications / #634

Activity #634

User #91 follow Velma Jerde started following you

7/30/2025, 3:17:13 PM

Component variants

Medium
Small

User #91 follow Velma Jerde started following you · 7/30/2025, 3:17:13 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 634,
  "userId": 91,
  "type": "follow",
  "title": "Velma Jerde started following you",
  "body": "Custodia contabesco esse viscus thymbra nobis aufero aufero comburo altus.",
  "isRead": true,
  "link": "https://example.com/follow/NhmOUgei",
  "createdAt": "2025-07-30T15:17:13.656Z"
}