Send mail
Sends an email from the specified mailbox. Counts against the monthly send limit. Send an Idempotency-Key header to make a retry safe: a repeat of a finished request returns the first result with replayed: true instead of sending again. With sendAt the message is saved in Drafts and sent at that time instead; the response then carries sent: false and a scheduled object. Requires scope mail:send.
Request
- Base URL: https://faivelo.com/api/v1
- URL: https://faivelo.com/api/v1/mailboxes/{address}/send
- Auth: HTTP bearer
Path parameters
Full mailbox address, e.g. user@yourdomain.com
Headers
A unique value you choose (a UUID works), up to 256 characters. Repeating a request with the same key within 24 hours returns the first result instead of doing the work twice. The same key with a different body is a 422; a repeat while the first request is still running is a 409.
Request body
Example request
{
"to": "alice@example.com, bob@example.com",
"subject": "Monthly report",
"templateAlias": "receipt",
"variables": {
"name": "Blair",
"orderId": "10428",
"total": "$38.49",
"items": [
{
"label": "Annual plan",
"value": "$32.08"
},
{
"label": "Tax",
"value": "$6.41"
}
]
},
"attachments": [
{
"filename": "report.pdf",
"contentType": "application/pdf"
}
],
"sendAt": "2026-10-05T09:00:00Z"
}Response
Mail sent
Example response
{
"success": true,
"data": {
"sent": true,
"scheduled": {
"uid": 42
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.