Ir al contenido
Won.dev
DocumentaciónReferencia de la API
API de correo en frío

Listar correos enviados

Los correos que salieron: a quién, qué paso y desde qué dirección. Gratis.

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: no se envía ni se cobra nada.

GET
/email/messages

Autenticación

apiKey
headerAuthorizationBearer <clave de API>

Authorization: Bearer won_live_..., a key from the console.

Parámetros de consulta

campaign_id?string

Only this campaign, such as cmp_7p1q8w3e5r4k2m9x.

Longitudlength <= 40
recipient_id?string

Only emails to this recipient.

Longitudlength <= 40
status?string

Only emails in this status.

Valores"sending""sent""bounced""failed""skipped"
limit?integer

How many to return, 1 to 100.

Rango1 <= value <= 100
Valor predeterminado25
cursor?string

To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

Longitudlength <= 200

Cuerpo de la respuesta

The result.

application/json
  1. response
data*array<>

The emails of this page.

has_more*boolean

Whether more follow this page.

next_cursor*|

Pass it as cursor to get the next page. Null on the last page.

notice*|

A plain sentence when there is something to know about this answer. Null otherwise.

usage*

Nothing is charged here. The balance, for reference.

Solicitud de ejemplo
curl -X GET 'https://api.won.dev/v1/email/messages?campaign_id=cmp_7p1q8w3e5r4k2m9x&limit=1'
Respuesta de ejemplo
{  "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  }}

Última actualización: