---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://docs.sendcorex.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.sendcorex.com/llms.txt"
---

Source: https://docs.sendcorex.com/th/api-reference/webhooks/events/queued

เหตุการณ์ webhook · การส่ง

# queued

ส่งครั้งเดียวเมื่ออีเมลเข้าคิวการส่ง สำหรับทุกอีเมล: API, SMTP และแคมเปญ ส่งอีกครั้งเมื่ออีเมลถูกย้ายไป IP หรือเซิร์ฟเวอร์อื่นเพื่อลองใหม่

ส่งเป็น `POST` ที่มีลายเซ็นไปยัง URL webhook ของคุณ ดู [การตั้งค่าและเหตุการณ์](https://docs.sendcorex.com/th/api-reference/webhooks/setup-events#quick-start) สำหรับวิธีตรวจลายเซ็น

## Payload

```
// Accepted for delivery
{
  "event": "queued",
  "emailId": "3f2a1b4c-8e9d-4f7a-b2c3-1a2b3c4d5e6f",
  "timestamp": "2026-10-23T04:32:10.000Z",
  "data": {
    "recipientEmail": "user@example.com",
    "fromAddress": "hello@yourdomain.com"
  }
}
```

## ข้อมูลอ้างอิงฟิลด์

- `event`
ค่าคงที่: "queued"
- `emailId`
ID ของอีเมล เป็นค่าเดียวกับที่ POST /send ส่งกลับ
- `timestamp`
เวลาที่เกิดเหตุการณ์ (ISO 8601, UTC)
- `data.recipientEmail`
ที่อยู่อีเมลผู้รับ
- `data.fromAddress`
ที่อยู่อีเมลผู้ส่ง
- `data.reason`
เฉพาะเมื่ออีเมลเข้าคิวใหม่: "Retrying via fallback IP …" หรือ "Retrying via fallback server …"
