Send
🇬🇧 English
Authentication required. All requests must include a valid JWT access token obtained from
POST /api/1.0/auth/token.
Send Mail
POST /api/1.0/mail/store
Send a transactional email. Supports plain text, HTML content, and file attachments.
Headers
Body (multipart/form-data)
* At least one of
textorhtmlmust be provided.
Example Request (JSON-style reference)
PHP (Guzzle) Example
Responses
200 OK — Success
400 Bad Request — Validation error
400 Bad Request — Attachment too large
401 Unauthorized — Missing or invalid token
401 Unauthorized — Token expired
500 Internal Server Error
🇻🇳 Tiếng Việt
Yêu cầu xác thực. Tất cả request phải kèm JWT access token hợp lệ lấy từ
POST /api/1.0/auth/token.
Gửi Mail
POST /api/1.0/mail/store
Gửi email giao dịch. Hỗ trợ nội dung text thuần, HTML và file đính kèm.
Headers
Body (multipart/form-data)
* Phải có ít nhất một trong
texthoặchtml.
Ví dụ Request (dạng tham chiếu)
Ví dụ PHP (Guzzle)
Responses
200 OK — Thành công
400 Bad Request — Lỗi validation
400 Bad Request — File đính kèm quá lớn
401 Unauthorized — Thiếu hoặc sai token
401 Unauthorized — Token hết hạn
500 Internal Server Error