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.

The rawMessage field should contain the base64-encoded raw email.

post/emails/raw

Request body

fromstring email required

Sender email address

tostring[] required

Recipient email addresses

rawMessagestring required

Base64-encoded RFC 2822 MIME message

bounceboolean nullable

Whether this is a bounce message (accepts null)

Response

Email accepted

successtrue required

Example response

{
  "data": {
    "id": "msg_12345_abc123def456",
    "messageId": "<abc123@mail.arkhq.io>"
  },
  "meta": {
    "requestId": "req_V1StGXR8_Z5jdHi6"
  }
}

Changes