メインコンテンツへスキップ
POST
C#

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

name
enum<string>
必須

Name of the email provider. Can be mailgun, mandrill, sendgrid, resend, ses, sparkpost, smtp, azure_cs, ms365, or custom.

利用可能なオプション:
mailgun,
mandrill,
sendgrid,
resend,
ses,
sparkpost,
smtp,
azure_cs,
ms365,
custom
credentials
object
必須

Credentials required to use the provider.

enabled
boolean
デフォルト:true

Whether the provider is enabled (true) or disabled (false).

default_from_address
string

Email address to use as "from" when no other address specified.

settings
object | null

Specific provider setting

レスポンス

Email provider successfully created.

name
string
デフォルト:sendgrid

Name of the email provider. Can be mailgun, mandrill, sendgrid, resend, ses, sparkpost, smtp, azure_cs, ms365, or custom.

enabled
boolean
デフォルト:true

Whether the provider is enabled (true) or disabled (false).

default_from_address
string

Email address to use as "from" when no other address specified.

credentials
object

Credentials required to use the provider.

settings
object

Specific provider setting