postlane

v0.1.0
io.github.zwebso/postlane Checked 3 days ago Published 2 months ago

Send transactional email and read send activity through the Postlane API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

send_email

Send one transactional email through Postlane POST /v1/emails. The from domain must already be verified.

ParameterTypeDescription
from *stringVerified sender, such as hello@send.example.com
idempotency_key *stringStable key for this logical send. Reuse it on retry.
to *Recipient email, or an array of emails
bccOptional Bcc
ccOptional Cc
htmlstring
reply_tostring
subjectstring
templatestringSaved template name, such as Reset your password
textstring
variablesobject

get_email

Read one Postlane send and its events by id.

ParameterTypeDescription
id *stringSend id, such as em_…

list_emails

List recent Postlane sends for this API key. Requires Read activity or Full access.