example-data.com
Menu
Browse docs and collections

Overview

messages / #459

Message #459

· 11/18/2025

Studio deduco teres enim. Traho cunctatio porro accusator apud. Decerno creator cena.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 459,
  "conversationId": 25,
  "userId": 149,
  "body": "Studio deduco teres enim. Traho cunctatio porro accusator apud. Decerno creator cena.",
  "isEdited": false,
  "createdAt": "2025-11-18T14:42:13.020Z",
  "updatedAt": "2025-11-18T14:42:13.020Z"
}