/api/v1/emailer/send
Queues or immediately sends an email through the organisation mail system. Supports HTML body, attachments (from blob storage, URL, or raw text), and priority control.
Parameters
1 query · 12 body
apiKeystringRequiredYour BizKitHub API key (passed as GET parameter).
Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more
subjectstringRequiredEmail subject line.
fromstringSender email address or name+email. If omitted, organisation default is used.
tostringRequiredRecipient email address.
ccstringCC recipient email address.
bccstringBCC recipient email address.
replyTostringReply-To email address.
prioritynumberEmail priority (lower = higher priority). Default queue priority if omitted.
notestringInternal note attached to the email record (not sent to recipient).
htmlBodystringHTML content of the email body.
tagstringTag for categorizing the email (e.g. for analytics).
forceSendNowbooleanIf true, send immediately bypassing the queue. Default: false.
attachmentListobject | object | object[]List of attachments. Each item is one of blobToken, attachmentUrl, or rawTextContent.
Request
POST /api/v1/emailer/send
curl -X POST "https://api.bizkithub.com/api/v1/emailer/send?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"subject": "Order confirmation #12345",
"from": "support@example.com",
"to": "customer@example.com",
"cc": "example_cc",
"bcc": "example_bcc",
"replyTo": "example_replyTo",
"priority": 1,
"note": "example_note",
"htmlBody": "example_htmlBody",
"tag": "order-confirmation",
"forceSendNow": false,
"attachmentList": []
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.