example-data.com
Menu
Browse docs and collections

Overview

notifications / #90

Activity #90

User #125 like Virginie O'Connell liked your post

10/23/2025, 11:50:07 PM

Component variants

Medium
Small

User #125 like Virginie O'Connell liked your post · 10/23/2025, 11:50:07 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 90,
  "userId": 125,
  "type": "like",
  "title": "Virginie O'Connell liked your post",
  "body": "Fugiat canis altus quisquam cedo tremo cuppedia.",
  "isRead": false,
  "link": "https://example.com/like/wl7kLgYc",
  "createdAt": "2025-10-23T23:50:07.643Z"
}