example-data.com
Menu
Browse docs and collections

Overview

conversations / #123

conversations #123

title
isGroup
false
createdAt
updatedAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/conversations/123"
);
const conversation = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/conversations.d.ts https://example-data.com/types/conversations.d.ts
import type { Conversation } from "./types/conversations";

const res = await fetch(
  "https://example-data.com/api/v1/conversations/123"
);
const conversation = (await res.json()) as Conversation;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/conversations/123"
)
conversation = res.json()

Response

{
  "id": 123,
  "title": null,
  "isGroup": false,
  "createdAt": "2025-06-21T01:52:17.043Z",
  "updatedAt": "2025-08-31T17:01:14.944Z"
}