Send transactional email
Receipts, resets and confirmations straight from your code.
Transactional mail is triggered by an action — an order, a password reset — and goes to one person. Send it from your backend with the same API key.
Trigger a one-off send
curl https://app.postlys.com/api/v1/send \ -H "X-Api-Key: pl_live_xxx" \ -d to=jane@acme.com \ -d subject="Your receipt" \ -d html="<p>Thanks for your order!</p>"
Full language snippets live in the connection guides (.NET, PHP, Node, Python).
Was this page helpful?