# Listar sobres de firma

GET `https://api.bydomu.com/v1/envelopes`

Los 100 sobres de firma más recientes, con sus destinatarios. No se pagina.

Permiso que pide

`documents:read`

Encabezado obligatorio

`X-API-Key` · clave secreta

Nivel de acceso

Nivel 2 · automático en Inmobiliaria Pro

## Parámetros de consulta

2 · todos opcionales

`status` string · opcional

Estado del sobre (`DRAFT`, `IN_PROGRESS`, `COMPLETED`, `EXPIRED`, `CANCELLED`, `DECLINED`)

`search` string · opcional

Texto en el nombre del sobre o en el título de su negocio

## Respuesta 200

`EnvelopeListItem[]` · 11 campos

**`data[]` id · name · status · signingMode · expiresAt · completedAt · createdAt · updatedAt · deal · createdBy · recipients**

`id` string

`name` string

`status` string DRAFT, IN_PROGRESS, COMPLETED, EXPIRED, CANCELLED, DECLINED

`signingMode` string SEQUENTIAL, PARALLEL

`expiresAt` string

`completedAt` string

`createdAt` string

`updatedAt` string

**`deal` id · title**

`id` string

`title` string

**`createdBy` firstName · lastName**

`firstName` string

`lastName` string

**`recipients[]` id · name · email · role · order · status · signedAt**

`id` string

`name` string

`email` string

`role` string SIGNER, CC, VIEWER

`order` integer

`status` string PENDING, NOTIFIED, SIGNED, DECLINED

`signedAt` string

## Errores posibles

con la forma `{ "error": { "code", "message" } }`

- **400** Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/envelopes" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.envelopes.list();
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/envelopes",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Respuesta · 200 · ejemplo**

```json
{
  "data": [
    {
      "id": "clx1env001",
      "name": "Contrato de arrendamiento - Apto 301",
      "status": "DRAFT",
      "signingMode": "SEQUENTIAL",
      "expiresAt": "2026-10-30T23:59:59.000Z",
      "completedAt": "2026-09-22T15:10:00.000Z",
      "createdAt": "2026-09-15T09:00:00.000Z",
      "updatedAt": "2026-09-22T15:10:00.000Z",
      "deal": {
        "id": "clx1deal002",
        "title": "Arriendo Apto 301"
      },
      "createdBy": {
        "firstName": "Carlos",
        "lastName": "Rodríguez"
      },
      "recipients": [
        {
          "id": "clx1rcp001",
          "name": "María González",
          "email": "maria.gonzalez@email.com",
          "role": "SIGNER",
          "order": 1,
          "status": "PENDING",
          "signedAt": "2026-09-22T15:10:00.000Z"
        }
      ]
    }
  ]
}
```
