# Listar correos enviados

Source: https://won.dev/es/docs/email/messages-list

`GET https://api.won.dev/v1/email/messages`

Los correos que salieron, del más reciente al más antiguo: a quién, qué paso y versión, si rebotó y desde qué dirección salió. Las aperturas y los clics solo se cuentan en las campañas que los rastrean. Gratis.

- **Cobro:** Gratis.

Una clave de prueba (`won_test_...`) ejecuta esto en el [sandbox](/es/docs/email#sandbox): no se envía ni se cobra nada.

## Parámetros [#parameters]

Los parámetros van en la cadena de consulta, con las listas separadas por comas.

| Parámetro | Tipo | Obligatorio | Descripción (texto original de la API) |
| --- | --- | --- | --- |
| `campaign_id` | string | no | Only this campaign, such as `cmp_7p1q8w3e5r4k2m9x`. |
| `recipient_id` | string | no | Only emails to this recipient. |
| `status` | `sending` \| `sent` \| `bounced` \| `failed` \| `skipped` | no | Only emails in this status. |
| `limit` | integer | no | How many to return, 1 to 100. Default: `25`. |
| `cursor` | string | no | To get the next page, pass `next_cursor` of the previous response back unchanged, with the same parameters. |

## Respuesta [#response]

Los errores se describen en [Errores](/es/docs/errors).

| Campo | Tipo | Descripción (texto original de la API) |
| --- | --- | --- |
| `data` | object[] | The emails of this page. |
| `data[].id` | string | Message ID, such as `msg_3e5r4k2m9x7p1q8w`. |
| `data[].campaign_id` | string |  |
| `data[].recipient_id` | string |  |
| `data[].from` | string \| null | The address it went out from: a mailbox of the sender's domains. |
| `data[].to` | string |  |
| `data[].kind` | `step` \| `reply` \| `single` | `step` of the sequence, `reply` (your answer to a reply), or `single` (an email you sent on its own with `POST /email/messages`). |
| `data[].step` | integer \| null | The step, counted from 1. Null for a reply or a single email. |
| `data[].version` | integer | Which version of the step went out, counted from 1. |
| `data[].status` | `sending` \| `sent` \| `bounced` \| `failed` \| `skipped` | `sent`, `bounced`, or `sending` for the seconds it takes. `failed` and `skipped` did not go out. |
| `data[].subject` | string |  |
| `data[].opens` | integer | Opens that look like a person's. Machines that fetch mail to scan it are left out. |
| `data[].clicks` | integer |  |
| `data[].bounce_type` | `hard` \| `soft` \| null |  |
| `data[].attachments` | object[] | The files that went with it. |
| `data[].attachments[].filename` | string |  |
| `data[].attachments[].content_type` | string |  |
| `data[].attachments[].size` | integer | In bytes. |
| `data[].sent_at` | string \| null |  |
| `has_more` | boolean | Whether more follow this page. |
| `next_cursor` | string \| null | Pass it as `cursor` to get the next page. Null on the last page. |
| `notice` | string \| null | A plain sentence when there is something to know about this answer. Null otherwise. |
| `usage` | object | Nothing is charged here. The balance, for reference. |
| `usage.cost` | number | What this call cost, in US dollars. |
| `usage.balance` | number | The balance left after this call, in US dollars. |
| `usage.replayed` | boolean | True when this is a repeat of a request from the last 24 hours. Repeats are free. |

## Ejemplo [#example]

```bash
curl "https://api.won.dev/v1/email/messages?campaign_id=cmp_7p1q8w3e5r4k2m9x&limit=1" \
  -H "Authorization: Bearer $WON_API_KEY"
```

```json
{
  "data": [
    {
      "id": "msg_3e5r4k2m9x7p1q8w",
      "campaign_id": "cmp_7p1q8w3e5r4k2m9x",
      "recipient_id": "rcp_9x7p1q8w3e5r4k2m",
      "from": "alex@northwindseating.example",
      "to": "dana.whitfield@harborline-imports.example",
      "kind": "step",
      "step": 1,
      "version": 1,
      "status": "sent",
      "subject": "Office chairs for Harborline Imports",
      "opens": 0,
      "clicks": 0,
      "bounce_type": null,
      "attachments": [],
      "sent_at": "2026-11-19T15:07:31.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "cur_Qm9vVGhpc0lzQVNhbXBsZQ",
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}
```