example-data.com
Menu
Browse docs and collections

Overview

messages / #3084

Message #3084

· 6/21/2025

Minima succurro bis admoneo valde. Cado amitto blandior vorax.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 3084,
  "conversationId": 169,
  "userId": 39,
  "body": "Minima succurro bis admoneo valde. Cado amitto blandior vorax.",
  "isEdited": true,
  "createdAt": "2025-06-21T22:44:13.436Z",
  "updatedAt": "2025-08-23T12:30:25.729Z"
}