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

Listar destinatários

As pessoas de uma campanha e em que ponto cada uma está. Grátis.

As pessoas de uma campanha e em que ponto cada uma está: quantos e-mails recebeu, quando vence o próximo e por que a cadência terminou para quem já terminou. Na ordem em que foram adicionadas. Grátis.

  • Cobrança: Grátis.

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

GET
/email/campaigns/{id}/recipients

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

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

Parâmetros de caminho

id*string

Campaign ID, such as cmp_7p1q8w3e5r4k2m9x.

Tamanholength <= 40

Parâmetros de consulta

status?string

Only recipients in this status.

Valores"verifying""scheduled""active""replied""completed""bounced""unsubscribed""suppressed""invalid""stopped"
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 recipients 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/campaigns/cmp_7p1q8w3e5r4k2m9x/recipients?status=active&limit=1'
Resposta de exemplo
{  "data": [    {      "id": "rcp_9x7p1q8w3e5r4k2m",      "campaign_id": "cmp_7p1q8w3e5r4k2m9x",      "email": "dana.whitfield@harborline-imports.example",      "first_name": "Dana",      "last_name": "Whitfield",      "company": "Harborline Imports",      "country": "US",      "contact_id": null,      "status": "active",      "reason": null,      "risky": false,      "emails_sent": 1,      "next_send_at": "2026-11-24T15:20:00.000Z",      "last_sent_at": "2026-11-19T15:07:31.000Z",      "metadata": {        "crm_id": "lead_4471"      },      "created_at": "2026-11-18T14:03:10.000Z"    }  ],  "has_more": true,  "next_cursor": "cur_Qm9vVGhpc0lzQVNhbXBsZQ",  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

Última atualização em