example-data.com
Menu
Browse docs and collections

conversations

conversations

Page 5 of 9.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/conversations?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/conversations?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/conversations";

const res = await fetch(
  "https://example-data.com/api/v1/conversations?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Conversation>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/conversations",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 97,
      "title": null,
      "isGroup": false,
      "createdAt": "2026-04-12T16:29:58.535Z",
      "updatedAt": "2026-04-13T22:01:55.990Z"
    },
    {
      "id": 98,
      "title": null,
      "isGroup": false,
      "createdAt": "2025-10-31T04:39:34.382Z",
      "updatedAt": "2026-02-03T11:43:36.458Z"
    },
    {
      "id": 99,
      "title": "Coffee Break 87",
      "isGroup": true,
      "createdAt": "2026-02-08T07:12:38.056Z",
      "updatedAt": "2026-02-13T01:15:50.058Z"
    }
  ],
  "meta": {
    "page": 5,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/conversations?page=5&limit=24",
    "first": "/api/v1/conversations?page=1&limit=24",
    "last": "/api/v1/conversations?page=9&limit=24",
    "next": "/api/v1/conversations?page=6&limit=24",
    "prev": "/api/v1/conversations?page=4&limit=24"
  }
}