Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de cold mail

Listar respostas

O que os destinatários responderam, cada resposta com o que ela significa e o grau de certeza. Grátis.

O que os destinatários responderam, do mais recente para o mais antigo, cada resposta com o que ela significa (intent) e o grau de certeza. Uma resposta encerra sozinha a cadência de quem a enviou; não é preciso fazer nada para isso. Mensagens automáticas de ausência ficam de fora, a menos que include_automated seja true, e não encerram uma cadência. Passe o received_at da resposta mais recente que você viu como since para receber o que é novo: uma resposta conta a partir de quando a registramos, o que pode ser depois do envio, então uma que você já viu pode aparecer de novo; diferencie pelo id. As respostas aparecem alguns minutos depois de enviadas. Os arquivos de uma resposta ficam em attachments, cada um com um link para baixar. Grátis.

  • Cobrança: Grátis.

Uma chave de teste (won_test_...) roda isto no sandbox: nada é enviado e nada é cobrado.

GET
/email/replies

Autenticação

apiKey
headerAuthorizationBearer <chave 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.

Tamanholength <= 40
sender_id?string

Only replies to the campaigns of this sender.

Tamanholength <= 40
intent?array<>

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

Itensitems <= 7
Padrão[]
since?string

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

Tamanholength <= 40
include_automated?boolean

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

Padrãofalse
limit?integer

How many to return, 1 to 100.

Intervalo1 <= value <= 100
Padrão25
cursor?string

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

Tamanholength <= 200

Corpo da resposta

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.

Requisição de exemplo
curl -X GET 'https://api.won.dev/v1/email/replies?campaign_id=cmp_7p1q8w3e5r4k2m9x&intent=interested&limit=1'
Resposta de exemplo
{  "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 atualização em