Skip to content

Mailjet 凭据(Mailjet credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

先决条件(Prerequisites)#

创建一个 Mailjet 账户。

🌐 Create a Mailjet account.

支持的身份验证方法(Supported authentication methods)#

  • 电子邮件 API 密钥:用于 Mailjet 的电子邮件 API
  • 短信令牌:用于 Mailjet 的短信 API

有关每项服务的更多信息,请参阅 Mailjet 的电子邮件 API 文档Mailjet 的短信 API 文档

🌐 Refer to Mailjet's Email API documentation and Mailjet's SMS API documentation for more information about each service.

使用电子邮件 API 密钥(Using Email API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • API 密钥:在你的 Mailjet API 密钥管理 页面查看和生成 API 密钥。
  • 秘密密钥:在你的 Mailjet API 密钥管理 页面查看你的 API 秘密密钥。
  • 可选: 选择是否使用此凭证进行调用时的 沙盒模式。启用后,所有 API 调用将使用沙盒模式:API 仍会验证请求负载,但不会实际发送消息。这对于排查负载错误信息而不实际发送消息非常有用。有关更多信息,请参阅 Mailjet 的 沙盒模式文档

对于此凭据,你可以使用以下任一方式:

🌐 For this credential, you can use either:

  • Mailjet 的主 API 密钥和私钥
  • 子账户 API 密钥和私钥。

有关创建更多 API 密钥的详细说明,请参阅 Mailjet 的如何创建子账户(或额外的 API 密钥)文档。有关 Mailjet 子账户的更多信息以及何时可能需要使用子账户,请参阅什么是子账户,它如何帮助我?页面。

🌐 Refer to Mailjet's How to create a subaccount (or additional API key) documentation for detailed instructions on creating more API keys. Refer to What are subaccounts and how does it help me? page for more information on Mailjet subaccounts and when you might want to use one.

使用短信令牌(Using SMS Token)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need: