success instead of the standard status/message/data envelope. Errors use the standard error envelope. The account owner must have Zapbox consent enabled, otherwise the call fails with 403; consent cannot be set through this API.account may be a bare address or Name <address>; the name overrides the mailbox display name for this message.threadId and messageId to reply inside an existing thread.isScheduled true the email is stored and sent at scheduledAt; the response is 202 with the stored draft ID. A scheduled email cannot be cancelled through the API.body (HTML), text (plain), or both.GET /onebox/thread-emails.curl --location 'https://api.zapmail.ai/api/v3/onebox/send-email' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data-raw '{
"account": "jane@acme.com",
"to": "lead@example.com",
"subject": "Quick question",
"body": "<p>Hi there, quick question...</p>"
}'{
"success": true,
"data": {
"threadId": "19a3f5c2d7e8b401",
"messageId": "19a3f5c2d7e8b402",
"account": "jane@acme.com",
"subject": "Quick question",
"from": [
{
"address": "jane@acme.com",
"name": "Jane Doe"
}
],
"to": [
{
"address": "lead@example.com",
"name": "Lead Example"
}
],
"date": "2026-10-26T09:30:00.000Z"
}
}