example-data.com
Menu
Browse docs and collections

Overview

messages / #1554

Message #1554

· 12/7/2025

Delicate asporto stipes accedo amplus degenero ciminatio cometes. Solium dignissimos compello admoneo capitulus cernuus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1554,
  "conversationId": 87,
  "userId": 184,
  "body": "Delicate asporto stipes accedo amplus degenero ciminatio cometes. Solium dignissimos compello admoneo capitulus cernuus.",
  "isEdited": false,
  "createdAt": "2025-12-07T00:30:03.067Z",
  "updatedAt": "2025-12-07T00:30:03.067Z"
}