postlane
v0.1.0Send 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | Verified sender, such as hello@send.example.com |
idempotency_key * | string | Stable key for this logical send. Reuse it on retry. |
to * | Recipient email, or an array of emails | |
bcc | Optional Bcc | |
cc | Optional Cc | |
html | string | |
reply_to | string | |
subject | string | |
template | string | Saved template name, such as Reset your password |
text | string | |
variables | object |
get_email
Read one Postlane send and its events by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Send id, such as em_… |
list_emails
List recent Postlane sends for this API key. Requires Read activity or Full access.