example-data.com
Menu
Browse docs and collections

Overview

messages / #53

Message #53

· 10/1/2025

Degenero labore verecundia arguo vinitor voluptates. Non bos soluta tui cruentus volaticus aspicio supplanto validus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 53,
  "conversationId": 4,
  "userId": 149,
  "body": "Degenero labore verecundia arguo vinitor voluptates. Non bos soluta tui cruentus volaticus aspicio supplanto validus.",
  "isEdited": false,
  "createdAt": "2025-10-01T13:05:14.139Z",
  "updatedAt": "2025-10-01T13:05:14.139Z"
}