Preview documentation: API shapes, DNS values, and code examples are illustrative until a backend contract is published.
Before you begin
Create a workspace and project, choose Test or Live, and review a sending domain.
First message
Use the Send Email page to compose a sample request. Its preview is local until the backend contract is available.
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."
}
}