Postmark
Getting Started

Welcome to Postmark

You're about to use the best email system on earth.

Send your first email

You can have a request working in a few minutes. Start with the test token, which checks your request and sends nothing.

  1. Get a server token

    In Postmark, open your server, then API Tokens, and copy the Server API token. Until you have one, use POSTMARK_API_TEST.

  2. Verify your email

    The From address must belong to a sender signature or domain you've verified in Postmark.

  3. Send an email

    Run the example. It's that easy. Copy it, add your token, and run in your terminal.

TerminalCode
curl "https://api.postmarkapp.com/email" \ -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Postmark-Server-Token: POSTMARK_API_TEST" \ -d '{ "From": "you@yourdomain.com", "To": "friend@example.com", "Subject": "Hello from Postmark", "TextBody": "It works!", "MessageStream": "outbound" }'

Not sure where to start?

What do you want to do next?

Start in your language

Official libraries handle authentication and request details for you.

Already know what you're looking for?

Last modified on