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

Listar campañas

Tus campañas, cada una con su estado y sus cifras. Gratis.

Tus campañas, de la más reciente a la más antigua, cada una con cómo va: cuántas personas están esperando, en la secuencia, respondieron o rebotaron, y, mientras está en curso, qué espera cuando no envía (waiting). Gratis.

  • Cobro: Gratis.

Una clave de prueba (won_test_...) ejecuta esto en el sandbox: no se envía ni se cobra nada.

GET
/email/campaigns

Autenticación

apiKey
headerAuthorizationBearer <clave de API>

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

Parámetros de consulta

status?string

Only campaigns in this status.

Valores"draft""active""paused""completed""canceled""suspended"
sender_id?string

Only the campaigns of this sender.

Longitudlength <= 40
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 campaigns 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/campaigns?status=active&limit=1'
Respuesta de ejemplo
{  "data": [    {      "id": "cmp_7p1q8w3e5r4k2m9x",      "name": "US chair importers, November",      "sender_id": "snd_4k2m9x7p1q8w3e5r",      "status": "active",      "pause_reason": null,      "waiting": null,      "steps": [        {          "delay_days": 0,          "versions": [            {              "subject": "Office chairs for {{company}}",              "body": "Hi {{first_name|there}},\n\nI saw that {{company}} imports office seating. We make mesh task chairs in Leeds and ship to the US in four weeks.\n\nWould a price list be useful?\n\n{{sender_first_name}}",              "weight": 1,              "stats": {                "sent": 42,                "opened": 0,                "clicked": 0,                "replied": 3              }            }          ]        },        {          "delay_days": 3,          "versions": [            {              "subject": null,              "body": "Hi {{first_name|there}},\n\nJust checking that my note reached the right person. Who looks after seating suppliers at {{company}}?\n\n{{sender_first_name}}",              "weight": 1,              "stats": {                "sent": 17,                "opened": 0,                "clicked": 0,                "replied": 1              }            }          ]        }      ],      "schedule": {        "timezone": "America/New_York",        "days": [          "mon",          "tue",          "wed",          "thu",          "fri"        ],        "start_hour": 9,        "end_hour": 17      },      "daily_limit": 30,      "stop_on_company_reply": true,      "track_opens": false,      "track_clicks": false,      "metadata": {        "customer_id": "c_812"      },      "stats": {        "recipients": 120,        "waiting": 74,        "in_sequence": 38,        "finished": 0,        "replied": 4,        "bounced": 1,        "unsubscribed": 1,        "excluded": 2,        "emails_sent": 59,        "emails_opened": 0,        "emails_clicked": 0      },      "test": false,      "created_at": "2026-11-18T14:03:10.000Z",      "started_at": "2026-11-18T14:03:11.000Z",      "completed_at": null    }  ],  "has_more": false,  "next_cursor": null,  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

Última actualización: