Preview documentation: API shapes, DNS values, and code examples are illustrative until a backend contract is published.
Credentials
Create API keys in the dashboard and store them only in a secure server environment.
Authorization
The exact authentication header and token format remain to be finalized with the backend.
Note: Never ship API secrets in browser code.
Parameters
| Name | Description |
|---|---|
authorization | Future scoped credential supplied by the server integration. |
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."
}
}