example-data.com
Menu
Browse docs and collections

Overview

notifications / #1568

Activity #1568

User #39 mention Talon Turner mentioned you in a post

7/16/2025, 7:18:27 AM

Component variants

Medium
Small

User #39 mention Talon Turner mentioned you in a post · 7/16/2025, 7:18:27 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1568,
  "userId": 39,
  "type": "mention",
  "title": "Talon Turner mentioned you in a post",
  "body": "Perspiciatis aestus basium ulterius studio vorax.",
  "isRead": false,
  "link": "https://example.com/mention/8-xHim01",
  "createdAt": "2025-07-16T07:18:27.372Z"
}