example-data.com
Menu
Browse docs and collections

Overview

messages / #155

Message #155

· 11/28/2025

Hic calculus cum delectus autem crur creptio cohibeo aegrus totam. Possimus terminatio anser temporibus carpo cras tamisium commodi deduco. Minima cursim adnuo amplitudo attonbitus carbo sit aggero.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 155,
  "conversationId": 10,
  "userId": 228,
  "body": "Hic calculus cum delectus autem crur creptio cohibeo aegrus totam. Possimus terminatio anser temporibus carpo cras tamisium commodi deduco. Minima cursim adnuo amplitudo attonbitus carbo sit aggero.",
  "isEdited": false,
  "createdAt": "2025-11-28T10:07:14.167Z",
  "updatedAt": "2025-11-28T10:07:14.167Z"
}