Preview documentation: API shapes, DNS values, and code examples are illustrative until a backend contract is published.
Add a domain
Register a domain under the appropriate project.
Verification
Review the illustrative DNS records and verification state in the Sending Domains page.
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."
}
}