Emails
Send raw MIME email
Send a pre-formatted RFC 2822 MIME message. Use this for advanced use cases or when migrating from systems that generate raw email content.
Important: The rawMessage field must be base64-encoded. Your raw MIME message (with headers like From, To, Subject, Content-Type, followed by a blank line and the body) must be encoded to base64 before sending.
post/emails/raw
Request body
Example request
{
"from": "Acme <hello@acme.com>",
"to": [
"user@example.com"
]
}Response
Email accepted
Example response
{
"data": {
"id": "aBc123XyZ456",
"messageId": "<abc123@mail.arkhq.io>"
},
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}