v1

latestSwagger 2.02026-07-13434569.6 KB
Sending API

Send a single email

post/email

Headers

X-Postmark-Server-Tokenstring required

The token associated with the Server on which this request will operate.

Request body

Fromstring

The sender email address. Must have a registered and confirmed Sender Signature.

Tostring

Recipient email address. Multiple addresses are comma seperated. Max 50.

Ccstring

Recipient email address. Multiple addresses are comma seperated. Max 50.

Bccstring

Bcc recipient email address. Multiple addresses are comma seperated. Max 50.

Subjectstring

Email Subject

Tagstring

Email tag that allows you to categorize outgoing emails and get detailed statistics.

HtmlBodystring

If no TextBody specified HTML email message

TextBodystring

If no HtmlBody specified Plain text email message

ReplyTostring

Reply To override email address. Defaults to the Reply To set in the sender signature.

TrackOpensboolean

Activate open tracking for this email.

TrackLinks'None' | 'HtmlAndText' | 'HtmlOnly' | 'TextOnly'

Replace links in content to enable "click tracking" stats. Default is 'null', which uses the server's LinkTracking setting'.

Response

OK

Tostring
SubmittedAtstring date-time
MessageIDstring
ErrorCodeinteger
Messagestring