example-data.com
Menu
Browse docs and collections

Overview

messages / #1916

Message #1916

· 9/8/2025

Vita subiungo magnam talis. Patria stella vulgo culpo tollo iste. Catena adflicto vestigium tonsor vulariter solium.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1916,
  "conversationId": 106,
  "userId": 239,
  "body": "Vita subiungo magnam talis. Patria stella vulgo culpo tollo iste. Catena adflicto vestigium tonsor vulariter solium.",
  "isEdited": false,
  "createdAt": "2025-09-08T16:55:49.860Z",
  "updatedAt": "2025-09-08T16:55:49.860Z"
}