example-data.com
Menu
Browse docs and collections

Overview

notifications / #651

Activity #651

User #177 mention Cruz Okuneva mentioned you in a post

11/24/2025, 3:18:24 AM

Component variants

Medium
Small

User #177 mention Cruz Okuneva mentioned you in a post · 11/24/2025, 3:18:24 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 651,
  "userId": 177,
  "type": "mention",
  "title": "Cruz Okuneva mentioned you in a post",
  "body": "Atrocitas clam voluptatem cernuus tripudio chirographum commodi eveniet.",
  "isRead": true,
  "link": null,
  "createdAt": "2025-11-24T03:18:24.039Z"
}