example-data.com
Menu
Browse docs and collections

Overview

messages / #3552

Message #3552

· 9/29/2025

Unde calcar astrum ulciscor comburo. Deporto temperantia cras vero commodi tunc cumque inventore rem vapulus. Cado cernuus acervus inventore.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 3552,
  "conversationId": 197,
  "userId": 201,
  "body": "Unde calcar astrum ulciscor comburo. Deporto temperantia cras vero commodi tunc cumque inventore rem vapulus. Cado cernuus acervus inventore.",
  "isEdited": false,
  "createdAt": "2025-09-29T10:39:27.805Z",
  "updatedAt": "2025-09-29T10:39:27.805Z"
}