Skip to main content
POST

Authorizations

Authorization
string
header
required

Your Mailercloud API key (plain text, no Bearer prefix). Create keys in Settings → API.

Headers

Content-Type
string
default:application/json
required

Request body type

Body

application/json
email
object
required

The message payload.

version
enum<string>
required

Use 1.0 when only html is sent. Use 2.0 when amp_html is included.

Available options:
1.0,
2.0
metadata
object

Optional metadata recorded with the message.

Response

Successful Response

status
string
statusCode
integer
message
string