送信者を変更する
送信者の登録後に、さらに多くの地域の法的根拠を申告するか、metadataを変更します。無料。
規則がより厳しい地域の人に送るための法的根拠を、さらに多くの地域について申告するか、ある地域の根拠を改めて示し、送信者のmetadataを置き換えます。変わるのは指定したフィールドだけです。一度申告した地域は申告されたままになります。その地域でキャンペーンに加えた人は、その申告にもとづいて加えたからです。申告はそれぞれ、日時と申告したキーとともに記録され、その後に追加する受信者から適用されます。会社名、住所、Webサイトはすべてのメールが示す送り主なので変更できません。別の会社のためには新しい送信者を登録してください。無料です。
- 課金: 無料。
テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。
apiKeyAuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
id*stringSender ID, such as snd_4k2m9x7p1q8w3e5r.
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
regions?array<>Regions to declare a lawful basis for: each one is added, or replaces the basis given for it before. The others stay as they are.
1 <= items <= 3metadata?Your own keys and values, such as {"customer_id": "c_812"}: up to 20 keys of at most 40 characters, each value a string of at most 500. It replaces the metadata there is; {} removes it. Events that already happened keep what they carried.
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 PATCH 'https://api.won.dev/v1/email/senders/snd_4k2m9x7p1q8w3e5r' \ -H 'Content-Type: application/json' \ -d '{ "id": "snd_4k2m9x7p1q8w3e5r", "regions": [ { "region": "uk", "basis": "Legitimate interest: B2B contacts at companies that import office furniture, in their work role." } ]}'{ "data": { "id": "snd_4k2m9x7p1q8w3e5r", "company_name": "Northwind Seating Ltd", "address": "18 Harbour Road, Leeds LS1 4AP, United Kingdom", "website": "https://northwind-seating.example", "purpose": "We make office chairs and write to furniture importers and distributors about our new catalogue.", "status": "active", "review_note": null, "throttled": false, "regions": [ { "region": "uk", "basis": "Legitimate interest: B2B contacts at companies that import office furniture, in their work role.", "declared_at": "2026-11-21T09:30:00.000Z" } ], "metadata": { "customer_id": "c_812" }, "test": false, "created_at": "2026-11-17T09:12:44.000Z" }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}最終更新日