example-data.com
Menu
Browse docs and collections

Overview

messages / #2870

Message #2870

· 4/12/2026

Arcus adeptio aiunt. Creptio impedit enim ter ceno eius cunctatio. Strues cena magnam chirographum audentia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 2870,
  "conversationId": 157,
  "userId": 1,
  "body": "Arcus adeptio aiunt. Creptio impedit enim ter ceno eius cunctatio. Strues cena magnam chirographum audentia.",
  "isEdited": false,
  "createdAt": "2026-04-12T04:18:12.439Z",
  "updatedAt": "2026-04-12T04:18:12.439Z"
}