example-data.com
Menu
Browse docs and collections

Overview

messages / #3046

Message #3046

· 3/7/2026

Vis culpa texo cado possimus benigne terreo aegrotatio qui. Balbus damnatio fugiat similique. Textor volaticus placeat curvo cui tricesimus quae decet abduco administratio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 3046,
  "conversationId": 167,
  "userId": 1,
  "body": "Vis culpa texo cado possimus benigne terreo aegrotatio qui. Balbus damnatio fugiat similique. Textor volaticus placeat curvo cui tricesimus quae decet abduco administratio.",
  "isEdited": false,
  "createdAt": "2026-03-07T05:19:19.834Z",
  "updatedAt": "2026-03-07T05:19:19.834Z"
}