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

返信を取得する

1件の返信を、添付ファイルとダウンロードリンクつきで返します。無料。

1件の返信を、添付ファイルつきで返します。保存された各ファイルには、APIキーなしで1時間使える download_url がつきます。期限が切れたら、もう一度問い合わせれば新しいリンクが手に入ります。プログラムやスクリプト、15 MBを超えるファイルは保存しません。ファイルは返信が現れてから1〜2分でそろいます。まだそろっていなければ、返信を問い合わせたときに取得します。無料です。

  • 課金: 無料。

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

GET
/email/replies/{id}

認証

apiKey
headerAuthorizationBearer <APIキー>

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

パスパラメータ

id*string

Reply ID, such as rpl_1q8w3e5r4k2m9x7p.

長さlength <= 40

レスポンスボディ

The result.

application/json
  1. response
data*
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/rpl_1q8w3e5r4k2m9x7p'
レスポンスの例
{  "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. Our spec sheet for the tender is attached.",    "intent": "interested",    "confidence": 0.7,    "automated": false,    "matched_by": "thread",    "has_attachments": true,    "attachments": [      {        "id": "att_6m2k9x7p1q8w3e5r",        "filename": "tender-spec.pdf",        "content_type": "application/pdf",        "size": 248113,        "status": "stored",        "reason": null,        "download_url": "https://won.dev/e/a/eyJhIjoiYXR0XzZtMms5eDdwMXE4dzNlNXIifQ.c2FtcGxl"      }    ],    "metadata": {      "customer_id": "c_812",      "crm_id": "lead_4471"    },    "received_at": "2026-11-20T13:41:02.000Z"  },  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

最終更新日