example-data.com
Menu
Browse docs and collections

Overview

messages / #2802

Message #2802

· 12/7/2025

Caput admiratio auctus alveus absque taedium impedit thermae. Sulum crastinus acquiro compello voluptatem peior degenero tergiversatio dedico valetudo. Arbustum cubicularis spes omnis paens sodalitas tergum odit fugiat ater.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/messages/2802"
);
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/2802"
);
const message = (await res.json()) as Message;

Python example

import requests

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

Response

{
  "id": 2802,
  "conversationId": 153,
  "userId": 64,
  "body": "Caput admiratio auctus alveus absque taedium impedit thermae. Sulum crastinus acquiro compello voluptatem peior degenero tergiversatio dedico valetudo. Arbustum cubicularis spes omnis paens sodalitas tergum odit fugiat ater.",
  "isEdited": false,
  "createdAt": "2025-12-07T09:52:59.051Z",
  "updatedAt": "2025-12-07T09:52:59.051Z"
}