example-data.com
Menu
Browse docs and collections

Overview

notifications / #1366

Activity #1366

User #104 mention Cassidy Christiansen mentioned you in a post

7/10/2025, 9:23:17 AM

Component variants

Medium
Small

User #104 mention Cassidy Christiansen mentioned you in a post · 7/10/2025, 9:23:17 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1366,
  "userId": 104,
  "type": "mention",
  "title": "Cassidy Christiansen mentioned you in a post",
  "body": "Curiositas viduo agnosco quaerat amoveo volva stella.",
  "isRead": true,
  "link": "https://example.com/mention/XIO_jt8J",
  "createdAt": "2025-07-10T09:23:17.053Z"
}