Skip to content

Mailjet credentials#

คุณสามารถใช้ credentials เหล่านี้เพื่อยืนยันตัวตนใน nodes ต่อไปนี้:

Prerequisites#

สร้างบัญชี Mailjet

Supported authentication methods#

  • Email API key: สำหรับใช้กับ Email API ของ Mailjet
  • SMS token: สำหรับใช้กับ SMS API ของ Mailjet

อ้างอิง Mailjet's Email API documentation และ Mailjet's SMS API documentation สำหรับข้อมูลเพิ่มเติมเกี่ยวกับแต่ละบริการ

Using Email API key#

ในการกำหนดค่า credential นี้ คุณจะต้องมี:

  • API Key: ดูและสร้าง API keys ในหน้า API Key Management ของ Mailjet
  • Secret Key: ดู API Secret Keys ของคุณในหน้า API Key Management ของ Mailjet
  • Optional: เลือกว่าจะใช้ Sandbox Mode สำหรับการเรียก API ที่ทำโดยใช้ credential นี้หรือไม่ เมื่อเปิดใช้งาน การเรียก API ทั้งหมดจะใช้ Sandbox mode: API จะยังคงตรวจสอบ payloads แต่จะไม่ส่งข้อความจริง ซึ่งมีประโยชน์ในการแก้ไขปัญหาข้อผิดพลาดของ payload โดยไม่ต้องส่งข้อความจริง อ้างอิงเอกสาร Sandbox Mode documentation ของ Mailjet สำหรับข้อมูลเพิ่มเติม

สำหรับ credential นี้ คุณสามารถใช้:

  • API key และ secret key หลักของ Mailjet
  • API key และ secret key ของ subaccount

อ้างอิงเอกสาร How to create a subaccount (or additional API key) documentation ของ Mailjet สำหรับคำแนะนำโดยละเอียดในการสร้าง API keys เพิ่มเติม อ้างอิงหน้า What are subaccounts and how does it help me? สำหรับข้อมูลเพิ่มเติมเกี่ยวกับ subaccounts ของ Mailjet และเมื่อใดที่คุณอาจต้องการใช้

Using SMS Token#

ในการกำหนดค่า credential นี้ คุณจะต้องมี:

  • Token การเข้าถึง: สร้าง token ใหม่จาก SMS Dashboard ของ Mailjet อ้างอิงคู่มือ SMS API Getting Started guide สำหรับคำแนะนำโดยละเอียดเพิ่มเติม