เอกสารสำหรับนักพัฒนา SendHQ
โครงสร้างพื้นฐานอีเมลที่ให้ผลลัพธ์ชัดเจน
ยืนยันโดเมน ส่งอีเมลตามที่คาดหวัง รับคำตอบ เผยแพร่เทมเพลตแบบมีชนิดข้อมูล และตรวจสอบการส่งถึงโดยไม่ซ่อนสถานะของผู้ให้บริการ
curl https://sendhq.cc/api/v1/emails \
-H "Authorization: Bearer $SENDHQ_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: welcome-user-42" \
-d '{"from":"Acme <hello@example.com>","to":["customer@example.net"],"subject":"Welcome","text":"Your workspace is ready."}'เลือกเส้นทาง
เริ่มจากงานที่คุณต้องส่งมอบ
ส่งอีเมลตามที่คาดหวัง
คำขอเดี่ยว แบบชุด การตอบกลับ ไฟล์แนบ การลองใหม่ และอีเวนต์การส่ง
02เผยแพร่เทมเพลตที่ใช้ซ้ำได้
ตัวแปรแบบมีชนิดข้อมูล ฉบับร่างแบบ optimistic ตัวอย่างที่ตรงจริง การทดสอบ และรุ่นที่แก้ไขไม่ได้
03รับและจัดเธรดคำตอบ
ที่อยู่ขาเข้า ข้อความที่เก็บไว้ ไฟล์แนบส่วนตัว และบทสนทนา
04เชื่อมต่อเอเจนต์ AI
Run the SendHQ MCP server with Claude Code, Codex, or Claude Desktop: 142 typed tools with safety labels.
คู่มือผลิตภัณฑ์
ตามดูทั้งระบบ ไม่ใช่แค่คำขอเดี่ยว ๆ
เริ่มต้นอย่างรวดเร็ว
สร้างคีย์ ยืนยันโดเมน และส่งอีเมลทดสอบที่ควบคุมได้ด้วยคำขอที่ลองใหม่ได้อย่างปลอดภัย
เริ่มที่นี่ย้ายจาก Resend
แมปการส่งผ่าน HTTP ของ Resend มายัง SendHQ และทำความเข้าใจขอบเขตความเข้ากันได้ก่อนสลับ
Start hereMigrate from SendGrid
Move SendGrid Mail Send, dynamic templates, Event Webhook, suppressions, and Inbound Parse to the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from Mailgun
Move Mailgun Messages API sends, templates, webhooks, suppressions, and Routes to the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from Postmark
Move Postmark Email API sends, message streams, templates, webhooks, suppressions, and inbound processing to the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from Amazon SES
Move Amazon SES SendEmail calls, configuration-set events, the account suppression list, templates, and receipt rules to the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from AgentMail
Move AgentMail inboxes, sends, replies, threads, labels, and message webhooks for AI agents to SendHQ inboxes and the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from Mailtrap
Move Mailtrap Email Sending API calls, webhooks, and suppressions to the SendHQ API, with a prompt your coding agent can run.
Start hereMigrate from Brevo
Move Brevo transactional email API sends, templates, webhooks, and blocked contacts to the SendHQ API, with a prompt your coding agent can run.
Start hereUse SendHQ with ShipFast
Send ShipFast's sendEmail() and NextAuth magic-link emails through the SendHQ API instead of Resend and SMTP, with a prompt your coding agent can run.
เริ่มที่นี่การยืนยันตัวตน
ใช้ API key ฝั่งเซิร์ฟเวอร์สำหรับการเชื่อมต่อผลิตภัณฑ์ และเซสชันเบราว์เซอร์สำหรับการดูแลเวิร์กสเปซ
เริ่มที่นี่ข้อผิดพลาดและการลองใหม่
แยกวิเคราะห์ซองข้อผิดพลาด JSON มาตรฐาน และตัดสินว่าเมื่อใดการลองใหม่ปลอดภัย
เริ่มที่นี่การกำหนดเวอร์ชันและการเลิกใช้
ทำความเข้าใจเวอร์ชันหลักใน URL การเพิ่มที่เข้ากันได้ ประกาศการเลิกใช้ และช่วง sunset
ส่งการส่งอีเมล
ส่งข้อความ transactional แบบชุด การตอบกลับ ไฟล์แนบ และเทมเพลตแบบโฮสต์ได้อย่างปลอดภัย
ส่งโดเมนและ DNS
Provision sender identities and interpret DNS, propagation, and repair states.
ส่งเทมเพลตแบบโฮสต์
สร้างฉบับร่างแบบมีชนิดข้อมูล ดูตัวอย่างผลลัพธ์จริง เผยแพร่รุ่นที่แก้ไขไม่ได้ และเก็บที่มาของการส่ง
SendNewsletters and campaigns
Keep consented contacts, target segments, write, test, schedule, and send broadcasts, read bot-filtered open and click reports, and publish a newsletter site.
SendEvents and connections
Tell SendHQ what your contacts do, from your own code, from a payment provider's webhook, or from a spreadsheet, and see what came in and which automations it started.
รับอีเมลขาเข้า
สร้างกล่องจดหมาย รับข้อความที่ถูกกำหนดเส้นทาง เก็บไฟล์แนบ และสร้างบทสนทนาเรียงตามลำดับเวลา
รับป้ายกำกับและ bucket
จัดอีเมลที่ส่งและรับเข้าป้ายกำกับโดยอัตโนมัติ และให้เอเจนต์มี bucket ที่บทสนทนาไม่หลุดออกไปไหน
รับสแปม การอัปเดต และความสำคัญ
วิธีที่ SendHQ คัดอีเมลที่ได้รับเข้าหมวดหลัก การอัปเดต และสแปม ทำเครื่องหมายข้อความสำคัญ และเรียนรู้จากการแก้ไข
ดำเนินการความสามารถในการส่งถึง
ทำความเข้าใจอีเวนต์ของผู้ให้บริการ ชื่อเสียงของตัวตนผู้ส่ง การเพิ่มปริมาณรายวัน และการกู้คืนอัตโนมัติ
ดำเนินการการระงับการส่งและการยกเลิกรับ
ป้องกันการส่งที่ไม่ปลอดภัยไปยังผู้รับที่อีเมลตีกลับ ร้องเรียน หรือยกเลิกการรับ
OperateWebhooks
Receive signed email events (sent, delivered, delayed, bounced, complained, failed, received) at your own HTTPS endpoint, with retries.
ดำเนินการการเรียกเก็บเงินและขีดจำกัด
Understand the subscription requirement, the daily sending ramp, recipient credits, attachment transfer, and webhook-driven entitlements.
ToolsCommand-line interface
Install the SendHQ CLI to send and read email, verify domains, manage inboxes and templates, and run the MCP server from a terminal, a script, or CI.
IntegrationsSupabase Auth emails
Send Supabase sign-up, magic link, password reset, and email change messages through SendHQ with Supabase's Send Email hook and an Edge Function.