example-data.com
Menu
Browse docs and collections

Overview

conversations / #20

conversations #20

title
isGroup
false
createdAt
updatedAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/conversations/20"
);
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/20"
);
const conversation = (await res.json()) as Conversation;

Python example

import requests

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

Response

{
  "id": 20,
  "title": null,
  "isGroup": false,
  "createdAt": "2025-08-12T13:41:11.354Z",
  "updatedAt": "2026-03-31T14:38:15.742Z"
}