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.
apiKeyAuthorizationBearer <chave de API>Authorization: Bearer won_live_..., a key from the console.
campaign_id?stringOnly this campaign, such as cmp_7p1q8w3e5r4k2m9x.
length <= 40sender_id?stringOnly replies to the campaigns of this sender.
length <= 40intent?array<>Only replies with these intents, such as interested,question. Default: all.
items <= 7[]since?stringOnly replies filed after this ISO 8601 time, such as 2026-11-20T13:41:02Z.
length <= 40include_automated?booleanAlso return automatic answers such as out-of-office notes.
falselimit?integerHow many to return, 1 to 100.
1 <= value <= 10025cursor?stringTo get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.
length <= 200The result.
application/json- response
data*array<>The replies of this page.
has_more*booleanWhether 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.
curl -X GET 'https://api.won.dev/v1/email/replies?campaign_id=cmp_7p1q8w3e5r4k2m9x&intent=interested&limit=1'{ "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