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

Listar respuestas

Lo que respondieron los destinatarios, cada respuesta con lo que significa y qué tan seguro es. Gratis.

Lo que respondieron los destinatarios, de lo más reciente a lo más antiguo, cada respuesta con lo que significa (intent) y qué tan seguro es. Una respuesta termina sola la secuencia de quien la envió; no hay que hacer nada para eso. Las respuestas automáticas de ausencia quedan fuera salvo que include_automated sea true, y no terminan una secuencia. Pasa el received_at de la respuesta más reciente que viste como since para obtener lo nuevo: una respuesta cuenta desde que la registramos, que puede ser después de que se envió, así que una que ya viste puede volver a aparecer; distínguelas por id. Las respuestas aparecen unos minutos después de enviadas. Los archivos de una respuesta están en attachments, cada uno con un enlace para descargarlo. Gratis.

  • Cobro: Gratis.

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

GET
/email/replies

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
sender_id?string

Only replies to the campaigns of this sender.

Longitudlength <= 40
intent?array<>

Only replies with these intents, such as interested,question. Default: all.

Elementositems <= 7
Valor predeterminado[]
since?string

Only replies filed after this ISO 8601 time, such as 2026-11-20T13:41:02Z.

Longitudlength <= 40
include_automated?boolean

Also return automatic answers such as out-of-office notes.

Valor predeterminadofalse
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 replies 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/replies?campaign_id=cmp_7p1q8w3e5r4k2m9x&intent=interested&limit=1'
Respuesta de ejemplo
{  "data": [    {      "id": "rpl_1q8w3e5r4k2m9x7p",      "campaign_id": "cmp_7p1q8w3e5r4k2m9x",      "recipient_id": "rcp_9x7p1q8w3e5r4k2m",      "from_email": "dana.whitfield@harborline-imports.example",      "from_name": "Dana Whitfield",      "subject": "Re: Office chairs for Harborline Imports",      "text": "Hi, yes, please send the price list. We are reviewing suppliers for next quarter.",      "intent": "interested",      "confidence": 0.7,      "automated": false,      "matched_by": "thread",      "has_attachments": false,      "attachments": [],      "metadata": {        "customer_id": "c_812",        "crm_id": "lead_4471"      },      "received_at": "2026-11-20T13:41:02.000Z"    }  ],  "has_more": false,  "next_cursor": null,  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

Última actualización: