example-data.com
Menu
Browse docs and collections

Overview

messages / #1078

Message #1078

· 4/17/2026

Volup pecto adopto sint. Adaugeo agnosco caelum adicio adhuc aestivus deporto.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1078,
  "conversationId": 59,
  "userId": 238,
  "body": "Volup pecto adopto sint. Adaugeo agnosco caelum adicio adhuc aestivus deporto.",
  "isEdited": true,
  "createdAt": "2026-04-17T16:36:57.081Z",
  "updatedAt": "2026-04-29T18:06:41.057Z"
}