example-data.com
Menu
Browse docs and collections

Overview

messages / #237

Message #237

· 1/26/2026

Ventus carbo summopere atrox crapula brevis. Solum cognatus soluta desidero quis barba attollo. Vinum varietas vomer vix bardus campana bestia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 237,
  "conversationId": 15,
  "userId": 122,
  "body": "Ventus carbo summopere atrox crapula brevis. Solum cognatus soluta desidero quis barba attollo. Vinum varietas vomer vix bardus campana bestia.",
  "isEdited": false,
  "createdAt": "2026-01-26T09:43:58.572Z",
  "updatedAt": "2026-01-26T09:43:58.572Z"
}