example-data.com
Menu
Browse docs and collections

Overview

messages / #874

Message #874

· 3/20/2026

Adulatio dedico thermae thymum varius adopto cornu. Suscipit contabesco blandior abscido ait triduana audio crebro. Eos recusandae cado eligendi vobis modi illo ulciscor pecus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 874,
  "conversationId": 47,
  "userId": 50,
  "body": "Adulatio dedico thermae thymum varius adopto cornu. Suscipit contabesco blandior abscido ait triduana audio crebro. Eos recusandae cado eligendi vobis modi illo ulciscor pecus.",
  "isEdited": false,
  "createdAt": "2026-03-20T08:02:07.188Z",
  "updatedAt": "2026-03-20T08:02:07.188Z"
}