example-data.com
Menu
Browse docs and collections

Overview

messages / #1945

Message #1945

· 12/4/2025

Curo correptius sophismata blanditiis demoror talis solutio. Inflammatio comminor turpis curriculum decor molestias cubo minima spoliatio.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/messages/1945"
);
const message = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/messages.d.ts https://example-data.com/types/messages.d.ts
import type { Message } from "./types/messages";

const res = await fetch(
  "https://example-data.com/api/v1/messages/1945"
);
const message = (await res.json()) as Message;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/messages/1945"
)
message = res.json()

Response

{
  "id": 1945,
  "conversationId": 107,
  "userId": 139,
  "body": "Curo correptius sophismata blanditiis demoror talis solutio. Inflammatio comminor turpis curriculum decor molestias cubo minima spoliatio.",
  "isEdited": false,
  "createdAt": "2025-12-04T05:37:48.224Z",
  "updatedAt": "2025-12-04T05:37:48.224Z"
}