---
title: "List Conversations — Documentation"
canonical: "https://repull.dev/docs/list-conversations"
description: "List guest conversations across every connected platform, each linked to its reservation with the latest message. Query params and pagination."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# List Conversations

Retrieve all guest conversations across every connected platform, most recently active first. Each conversation is linked to a reservation and includes the latest message preview.

## When to use this endpoint

- Build a unified inbox that aggregates messages from Airbnb, Booking.com, and direct channels
- Monitor guest communication volume and response times
- Feed conversation context into your AI agent for automated responses
- Display unread message counts in your dashboard

> **Note: Real-time updates**
>
> Combine this endpoint with [webhooks](https://repull.dev/docs/webhooks-introduction.md) subscribing to `conversation.updated`events to get notified instantly when new messages arrive — instead of polling.

## List conversations

`GET /v1/conversations`

**cURL**

```bash
curl "https://api.repull.dev/v1/conversations?limit=20" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

**Node.js**

```typescript
import { Repull } from '@repull/sdk'

const repull = new Repull({ apiKey: process.env.REPULL_API_KEY! })

const { data, pagination } = await repull.conversations.list({ limit: 20 })

for (const conv of data) {
  console.log(`${conv.id} — ${conv.unreadCount} unread — ${conv.lastMessagePreview}`)
}

if (pagination.hasMore) {
  await repull.conversations.list({ limit: 20, cursor: pagination.nextCursor! })
}
```

**Python**

```python
import os
from repull import AuthenticatedClient
from repull.api.conversations import list_conversations

client = AuthenticatedClient(
    base_url="https://api.repull.dev",
    token=os.environ["REPULL_API_KEY"],
)

conversations = list_conversations.sync(client=client, limit=20)
```

**Go**

```go
import (
	"context"
	"os"

	"github.com/ivannikolovbg/repull-go/repull"
)

client, err := repull.NewClientWithResponses(
	repull.DefaultBaseURL,
	repull.WithBearer(os.Getenv("REPULL_API_KEY")),
)
ctx := context.Background()

limit := 20
resp, err := client.ListConversationsWithResponse(ctx, &repull.ListConversationsParams{
	Limit: &limit,
})
```

**Ruby**

```ruby
config = Repull::Configuration.new
config.access_token = ENV.fetch('REPULL_API_KEY')
config.host = 'api.repull.dev'

client = Repull::ApiClient.new(config)

api = Repull::ConversationsApi.new(client)
conversations = api.list_conversations(limit: 20)
```

**PHP**

```php
$config = Repull\Configuration::getDefaultConfiguration()
    ->setAccessToken(getenv('REPULL_API_KEY'));
$http = new GuzzleHttp\Client();

$api = new Repull\Api\ConversationsApi($http, $config);
$conversations = $api->listConversations(limit: 20);
```

**C#**

```csharp
using Repull.SDK;

var client = RepullClientFactory.Create(
    Environment.GetEnvironmentVariable("REPULL_API_KEY")!);

var conversations = await client.V1.Conversations.GetAsync(
    rc => rc.QueryParameters.Limit = 20);
```

## Query parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum number of conversations per page. 1-100. Default: `20`. |
| `cursor` | `string` | No | The previous response's pagination.nextCursor. Omit on the first call. |
| `order` | `string` | No | recent (default): most recent activity first. created: newest conversation first, stable for the whole walk. Use created to sync every conversation exactly once. Keep the same value on every page. Default: `recent`. |
| `updated_since` | `string` | No | ISO 8601 instant. Only conversations whose record changed at or after it, oldest change first (order does not apply). Use the last row's updatedAt as your next value. |
| `platform` | `string` | No | Only conversations on one channel: airbnb, booking, vrbo, plumguide, website or email. |
| `status` | `string` | No | open or archived. archived currently always returns an empty page. |

### Order

By default the list is ordered by `lastMessageAt`, newest first: the conversations with the latest activity come back on the first page. That is the right order for an inbox or for "what changed lately".

> **Note: Syncing every conversation? Use order=created**
>
> The default order is live. A conversation that gets a new message while you page moves to the front, behind your position, so that walk will not return it (your next walk, or an `updated_since` poll, will). To walk every conversation exactly once, pass `order=created`: newest conversation first, by when it started, and stable for the whole walk. A cursor always continues in the order its walk started in.

To stay up to date after a full sync, poll with `updated_since`: it returns only conversations whose record changed since your last poll, oldest change first.

## Response format

Returns a paginated array of conversation objects with message previews.

```
{
  "data": [
    {
      "id": "100",
      "reservationId": "456",
      "propertyId": "123",
      "guestName": "Sarah Mitchell",
      "lastMessage": "Hi! What are the check-in instructions?",
      "lastMessageAt": "2026-05-28T14:30:00Z",
      "unreadCount": 1,
      "type": "reservation",
      "createdAt": "2026-05-15T09:00:00Z"
    },
    {
      "id": "101",
      "reservationId": "789",
      "propertyId": "124",
      "guestName": "Marco Rossi",
      "lastMessage": "Thank you for the early check-in!",
      "lastMessageAt": "2026-05-27T10:15:00Z",
      "unreadCount": 0,
      "type": "reservation",
      "createdAt": "2026-05-20T11:00:00Z"
    }
  ],
  "pagination": {
    "total": 42,
    "limit": 50,
    "offset": 0,
    "hasMore": false
  }
}
```

### Response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique conversation identifier. |
| `reservationId` | `string` | No | ID of the linked reservation. |
| `propertyId` | `string` | No | ID of the property this conversation belongs to. |
| `guestName` | `string` | No | Full name of the guest. |
| `lastMessage` | `string` | No | Preview of the most recent message in the thread. |
| `lastMessageAt` | `string` | No | ISO 8601 time of the conversation's newest activity: its newest message, or a later change to the conversation. For imported conversations it is the newest imported message's own time, not when you connected. The default order sorts on it. |
| `unreadCount` | `integer` | No | Number of unread messages from the guest. |
| `type` | `string` | No | Conversation type: reservation, inquiry, or general. |
| `createdAt` | `string` | No | ISO 8601 timestamp when the conversation was created. |
| `updatedAt` | `string` | No | ISO 8601 time the conversation record last changed. Use it as the updated\_since watermark. |

## Pagination

Results are cursor-paginated. Pass the previous response's `pagination.nextCursor` back as `cursor`, and stop when `pagination.hasMore` is `false`. For a walk over every conversation, add `order=created` (see [Order](https://repull.dev/docs/list-conversations.md#order)).

```
# Full sync: every conversation exactly once, stable while paging
curl "https://api.repull.dev/v1/conversations?order=created&limit=100" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

# Then keep up to date: only what changed since your last poll
curl "https://api.repull.dev/v1/conversations?updated_since=2026-11-12T16:00:00Z&limit=100" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

Collecting conversations that need a reply, across every page:

```
// Fetch conversations with unread messages
import type { Conversation } from '@repull/sdk';

const unread: Conversation[] = [];
let cursor: string | undefined

do {
  const { data, pagination } = await repull.conversations.list({ limit: 50, cursor });

  for (const conv of data) {
    if ((conv.unreadCount ?? 0) > 0) unread.push(conv);
  }

  cursor = pagination.hasMore ? pagination.nextCursor ?? undefined : undefined;
} while (cursor);

console.log(`${unread.length} conversations need a reply`);
```

## API Reference

See the complete [Conversations API Reference](https://repull.dev/docs/api/conversations.md) for all endpoints including reading messages and sending replies.
