example-data.com
Menu
Browse docs and collections

conversations

conversations

Page 7 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": 145,
      "title": "Tech Talk 86",
      "isGroup": true,
      "createdAt": "2026-03-14T18:54:13.634Z",
      "updatedAt": "2026-03-22T00:56:05.247Z"
    },
    {
      "id": 146,
      "title": null,
      "isGroup": false,
      "createdAt": "2025-09-11T16:17:27.399Z",
      "updatedAt": "2025-10-23T07:53:07.035Z"
    },
    {
      "id": 147,
      "title": "Weekend Plans 33",
      "isGroup": true,
      "createdAt": "2025-08-21T10:23:29.262Z",
      "updatedAt": "2025-11-25T01:15:44.038Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/conversations?page=7&limit=24",
    "first": "/api/v1/conversations?page=1&limit=24",
    "last": "/api/v1/conversations?page=9&limit=24",
    "next": "/api/v1/conversations?page=8&limit=24",
    "prev": "/api/v1/conversations?page=6&limit=24"
  }
}