返信に返答する
同じスレッドで、同じメールボックスから返信に返答します。添付ファイルもつけられます。無料で、止められることはありません。
返信への返答を、同じスレッドで、そのやりとりで使っているメールボックスから送ります。相手には、1人の送り主との1つのやりとりとして見えます。相手のメールは下に引用されます。その送り主になったつもりで書いてください。プレーンテキストで、プレースホルダーは使えません。価格表やカタログなどのファイルは attachments に入れます。本文はキャンペーンの本文と同じようにチェックされます。無料で、その日の送信数にも数えられません。返信への返答が止められることはありません。配信停止した人やバウンスした人には返答できません。24時間以内の同じ返信への同じリクエストは繰り返しとみなされ、最初の結果が返り、二重に送られることはありません。
- 課金: 呼び出しは無料で、メールも無料です。メールは送信者の送信ドメインから送られ、ドメインは月ごとに支払います。送信ドメインを参照してください。
テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。
apiKeyAuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
id*stringReply ID, such as rpl_1q8w3e5r4k2m9x7p.
length <= 40Idempotency-Key?stringAny unique string. A retry with the same key and the same body returns the first response and is not charged again.
length <= 255application/json- body
text*stringYour answer, as plain text.
1 <= length <= 4000attachments?array<>Up to 3 files, 10 MB together: PDFs, pictures, office documents, CSV and text. Each needs content or url.
items <= 3[]The result.
application/json- 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 POST 'https://api.won.dev/v1/email/replies/rpl_1q8w3e5r4k2m9x7p/reply' \ -H 'Content-Type: application/json' \ -d '{ "id": "rpl_1q8w3e5r4k2m9x7p", "text": "Hi Dana,\n\nThanks. The price list is attached. Shall I send two samples?\n\nAlex", "attachments": [ { "filename": "price-list.pdf", "url": "https://northwind-seating.example/price-list.pdf" } ]}'{ "data": { "id": "msg_9x7p1q8w3e5r4k2m", "campaign_id": "cmp_7p1q8w3e5r4k2m9x", "recipient_id": "rcp_9x7p1q8w3e5r4k2m", "from": "alex@northwindseating.example", "to": "dana.whitfield@harborline-imports.example", "kind": "reply", "step": null, "version": 1, "status": "sent", "subject": "Re: Office chairs for Harborline Imports", "opens": 0, "clicks": 0, "bounce_type": null, "attachments": [ { "filename": "price-list.pdf", "content_type": "application/pdf", "size": 182344 } ], "sent_at": "2026-11-20T14:02:19.000Z" }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}最終更新日