Preview documentation: API shapes, DNS values, and code examples are illustrative until a backend contract is published.
Subscriptions
Choose events and a destination URL for each endpoint.
Delivery attempts
The frontend creates simulated attempts for testing; it never makes an HTTP callback.
Parameters
| Name | Description |
|---|---|
event | Subscribed event name. |
destination | HTTPS callback URL. |
Proposed code example
// Illustrative only — proposed interface
const response = await mailflow.messages.send({
projectId: "prj_example",
to: "recipient@example.com",
templateId: "tpl_welcome"
});Illustrative response
{
"id": "msg_example",
"status": "accepted",
"environment": "test"
}Error response example
{
"error": {
"code": "validation_error",
"message": "A required field is missing."
}
}