コールドメールAPI
送信済みメールの一覧
送ったメールを、宛先、ステップ、送信元のアドレスつきで返します。無料。
送ったメールを新しい順に返します。宛先、ステップとバージョン、バウンスしたかどうか、送信元のアドレスです。開封とクリックは、それらを計測するキャンペーンでだけ数えます。無料です。
- 課金: 無料。
テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。
GET
apiKeyheader
AuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
campaign_id?stringOnly this campaign, such as cmp_7p1q8w3e5r4k2m9x.
長さ
length <= 40recipient_id?stringOnly emails to this recipient.
長さ
length <= 40status?stringOnly emails in this status.
取りうる値
"sending""sent""bounced""failed""skipped"limit?integerHow many to return, 1 to 100.
範囲
1 <= value <= 100デフォルト
25cursor?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 emails 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/messages?campaign_id=cmp_7p1q8w3e5r4k2m9x&limit=1'レスポンスの例
{ "data": [ { "id": "msg_3e5r4k2m9x7p1q8w", "campaign_id": "cmp_7p1q8w3e5r4k2m9x", "recipient_id": "rcp_9x7p1q8w3e5r4k2m", "from": "alex@northwindseating.example", "to": "dana.whitfield@harborline-imports.example", "kind": "step", "step": 1, "version": 1, "status": "sent", "subject": "Office chairs for Harborline Imports", "opens": 0, "clicks": 0, "bounce_type": null, "attachments": [], "sent_at": "2026-11-19T15:07:31.000Z" } ], "has_more": true, "next_cursor": "cur_Qm9vVGhpc0lzQVNhbXBsZQ", "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}最終更新日