Create Email Config
Creates a new email configuration. For SMTP: provide SmtpSettings. For OAuth (Microsoft365/Google): provide OAuthSettings with returnUrl - response includes authorisationUrl to redirect user to. If IsDefault is true, IsShared must also be true.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"providerType": "Smtp",
"fromEmail": "string",
"fromName": "string",
"isDefault": false,
"isShared": false
}
Responses
201 Created
400 Bad Request
401 Unauthorized – Invalid or missing API key