example-data.com
Menu
Browse docs and collections

Overview

messages / #2365

Message #2365

· 3/4/2026

Bellum aqua attollo caritas. Assentator curto usitas universe thymbra corrumpo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 2365,
  "conversationId": 128,
  "userId": 214,
  "body": "Bellum aqua attollo caritas. Assentator curto usitas universe thymbra corrumpo.",
  "isEdited": false,
  "createdAt": "2026-03-04T01:27:50.138Z",
  "updatedAt": "2026-03-04T01:27:50.138Z"
}