example-data.com
Menu
Browse docs and collections

Overview

messages / #1056

Message #1056

· 4/15/2026

Reprehenderit adhuc depereo corrumpo somniculosus aut. Conicio cresco deludo tenetur supellex concedo verus. Depromo stabilis tergo cresco arx voluptatem blanditiis.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1056,
  "conversationId": 58,
  "userId": 75,
  "body": "Reprehenderit adhuc depereo corrumpo somniculosus aut. Conicio cresco deludo tenetur supellex concedo verus. Depromo stabilis tergo cresco arx voluptatem blanditiis.",
  "isEdited": false,
  "createdAt": "2026-04-15T18:10:23.273Z",
  "updatedAt": "2026-04-15T18:10:23.273Z"
}