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。
¥Email API key: For use with Mailjet's Email API
- 短信令牌:用于 Mailjet 的短信 API。
¥SMS token: For use with Mailjet's SMS API
相关资源#
¥Related resources
请参阅 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 密钥。
¥An API Key: View and generate API keys in your Mailjet API Key Management page.
- 秘密密钥:在 Mailjet API 密钥管理 页面中查看你的 API 密钥。
¥A Secret Key: View your API Secret Keys in your Mailjet API Key Management page.
- 可选的:选择是否对使用此凭据进行的调用使用沙盒模式。启用此选项后,所有 API 调用均使用沙盒模式:API 仍会验证有效负载,但不会传递实际消息。此功能有助于在不实际发送消息的情况下排查任何有效负载错误消息。更多信息请参阅 Mailjet 的 沙盒模式文档 指南。
¥Optional: Select whether to use Sandbox Mode for calls made using this credential. When turned on, all API calls use Sandbox mode: the API will still validate the payloads but won't deliver the actual messages. This can be useful to troubleshoot any payload error messages without actually sending messages. Refer to Mailjet's Sandbox Mode documentation for more information.
对于此凭据,你可以使用以下任一方式:
¥For this credential, you can use either:
- Mailjet 的主 API 密钥和私钥
¥Mailjet's primary API key and secret key
- 子账户 API 密钥和私钥。
¥A subaccount API key and secret key
有关创建更多 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:
- 访问令牌:从 Mailjet 的 短信控制面板 生成新令牌
¥An access Token: Generate a new token from Mailjet's SMS Dashboard.