example-data.com
Menu
Browse docs and collections

Overview

messages / #1788

Message #1788

· 3/6/2026

Assumenda vacuus patrocinor ait acceptus thalassinus tondeo. Rem commodi iusto tergiversatio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1788,
  "conversationId": 101,
  "userId": 134,
  "body": "Assumenda vacuus patrocinor ait acceptus thalassinus tondeo. Rem commodi iusto tergiversatio.",
  "isEdited": false,
  "createdAt": "2026-03-06T22:48:52.298Z",
  "updatedAt": "2026-03-06T22:48:52.298Z"
}