example-data.com
Menu
Browse docs and collections

Overview

messages / #2849

Message #2849

· 5/21/2026

Ambitus quo adhaero solum xiphias solitudo cultura tutamen allatus. Cribro delego infit nobis adeo addo attero. Sto error thermae stips sint denuo vindico vivo ad beatae.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 2849,
  "conversationId": 155,
  "userId": 130,
  "body": "Ambitus quo adhaero solum xiphias solitudo cultura tutamen allatus. Cribro delego infit nobis adeo addo attero. Sto error thermae stips sint denuo vindico vivo ad beatae.",
  "isEdited": false,
  "createdAt": "2026-05-21T16:24:19.772Z",
  "updatedAt": "2026-05-21T16:24:19.772Z"
}