Set the organization's default email sender for the environment of the API key or user session. At least one field is required. Omitted fields keep their saved value, and null clears a field.
The default_from_email domain must be whitelisted for the organization and authenticated for sending. override_template_senders can only be true while default_from_email and default_from_name are set. default_reply_to_email and default_reply_to_name must be set together.
400Validation error, for example an empty body, a malformed email, a "From" domain that is not whitelisted or not authenticated, turning the override on without a default "From" email and name, or a "Reply-To" email without a "Reply-To" name (or a name without an email).
403The caller is missing the communications:edit permission.