# List travelers

> The agency's passengers across live trips, for polling (n8n, Zapier): pass the last `updatedAt` you saw as `updatedSince` with `sort=updatedAt`, and follow `nextCursor` until it is null.

`GET /v1/travelers`

The agency's passengers across live trips, for polling (n8n, Zapier): pass the last `updatedAt` you saw as `updatedSince` with `sort=updatedAt`, and follow `nextCursor` until it is null. Filter by `tripId`. `access` is null here — read a trip's roster for it. Reordering passengers does not move `updatedAt`. Personal data: audited.

**Permissions:** `travelers:read` · **Kind:** read · **Cost:** 1 unit



## Path parameters

_None._

## Query parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `limit` | integer |  | 1–100, default 25 |
| `cursor` | string |  | max 500 chars |
| `sort` | "updatedAt" \| "-updatedAt" \| "createdAt" \| "-createdAt" |  | default "-updatedAt" |
| `updatedSince` | datetime |  |  |
| `tripId` | uuid |  |  |

## Response `200`

| Field | Type | Required | Description |
|---|---|---|---|
| `object` | "list" | yes |  |
| `data` | object[] | yes |  |
| `data[].object` | "traveler" | yes |  |
| `data[].id` | uuid | yes |  |
| `data[].tripId` | uuid | yes |  |
| `data[].position` | integer | yes |  |
| `data[].title` | "mr" \| "mrs" \| "ms" \| "mstr" \| "miss" \| null | yes |  |
| `data[].firstName` | string \| null | yes |  |
| `data[].lastName1` | string \| null | yes |  |
| `data[].lastName2` | string \| null | yes |  |
| `data[].birthDate` | string \| null | yes |  |
| `data[].sex` | "m" \| "f" \| null | yes |  |
| `data[].nationality` | string \| null | yes |  |
| `data[].docType` | "dni" \| "nie" \| "passport" \| "other" \| null | yes |  |
| `data[].docNumber` | string \| null | yes |  |
| `data[].docExpiry` | string \| null | yes |  |
| `data[].docCountry` | string \| null | yes |  |
| `data[].email` | string \| null | yes |  |
| `data[].phone` | string \| null | yes |  |
| `data[].address` | object \| null | yes |  |
| `data[].address.line1` | string \| null | yes |  |
| `data[].address.line2` | string \| null | yes |  |
| `data[].address.postalCode` | string \| null | yes |  |
| `data[].address.city` | string \| null | yes |  |
| `data[].address.region` | string \| null | yes |  |
| `data[].address.country` | string \| null | yes |  |
| `data[].taxId` | string \| null | yes |  |
| `data[].paxType` | "adult" \| "child" \| "infant" \| "unknown" | yes |  |
| `data[].missing` | string[] | yes |  |
| `data[].access` | "invited" \| "queued" \| "failed" \| "no_email" \| "not_yet" \| null | yes |  |
| `data[].source` | string | yes |  |
| `data[].consentAt` | string \| null | yes |  |
| `data[].docsPurgedAt` | string \| null | yes |  |
| `data[].createdAt` | string | yes |  |
| `data[].updatedAt` | string | yes |  |
| `nextCursor` | string \| null | yes |  |

## Errors

Errors are [problem details](https://api.bymundi.com/docs/guides/errors.md). Besides the refusals described above, any call like this one can return:

- [`invalid_request`](https://api.bymundi.com/problems/invalid_request.md) — Invalid request
- [`unauthorized`](https://api.bymundi.com/problems/unauthorized.md) — Missing or invalid API key
- [`insufficient_scope`](https://api.bymundi.com/problems/insufficient_scope.md) — Missing permission
- [`rate_limited`](https://api.bymundi.com/problems/rate_limited.md) — Rate limit reached

## Examples

#### curl

```bash
curl https://api.bymundi.com/v1/travelers \
  -H "Authorization: Bearer $BYMUNDI_KEY"
```

#### JavaScript

```javascript
const res = await fetch("https://api.bymundi.com/v1/travelers", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.BYMUNDI_KEY}`,
  },
});
if (!res.ok) throw new Error((await res.json()).detail);
const data = await res.json();
```

#### Python

```python
import os, uuid, requests

res = requests.get(
    "https://api.bymundi.com/v1/travelers",
    headers={"Authorization": f"Bearer {os.environ['BYMUNDI_KEY']}"},
)
res.raise_for_status()
data = res.json()
```
