Change the project's mail API settings
put/mail/settings
Change the project's mail API settings. Choosing the own MTA does not switch it on: it is used for a domain only after the deliverability checks pass.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
campaigns:write- Graphql
Mutation.campaignsMailSettingsUpdate- Sdk
mail.settings.update- Cli
mail settings-update
Request bodyapplication/json, required
- ratePerMinuteinteger or null
- trackOpensboolean
- trackClicksboolean
- defaultGroupstring or null
- transportstringOne of: auto, own-mta, resend, furcate-mail.
- domainTransportobject
- retentionDaysintegerAt least 1. At most 730.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring