本文へスキップ
Won.dev
ドキュメントAPIリファレンス
コールドメールAPI

返信の一覧

受信者からの返信を、その意図と確度つきで返します。無料。

受信者からの返信を新しい順に、その意図(intent)と確度つきで返します。返信があれば、その人へのシーケンスは自動で終わります。そのために何かする必要はありません。不在通知は include_automated をtrueにしない限り含まれず、シーケンスも終わらせません。新しい返信を取得するには、最後に見た返信の received_at を since として渡してください。返信は当社が受け付けた時刻で数えるため、送信時刻より遅くなることがあり、見たことのある返信がもう一度現れることもあります。id で区別してください。返信は送られてから数分で現れます。返信の添付ファイルは attachments にあり、それぞれにダウンロードリンクがつきます。無料です。

  • 課金: 無料。

テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。

GET
/email/replies

認証

apiKey
headerAuthorizationBearer <APIキー>

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

クエリパラメータ

campaign_id?string

Only this campaign, such as cmp_7p1q8w3e5r4k2m9x.

長さlength <= 40
sender_id?string

Only replies to the campaigns of this sender.

長さlength <= 40
intent?array<>

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

要素items <= 7
デフォルト[]
since?string

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

長さlength <= 40
include_automated?boolean

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

デフォルトfalse
limit?integer

How many to return, 1 to 100.

範囲1 <= value <= 100
デフォルト25
cursor?string

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

長さlength <= 200

レスポンスボディ

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.

リクエストの例
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  }}

最終更新日