Transmitly documentation

Python SDK

Install the Transmitly Python SDK, send a transactional email and handle API errors.

Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference

The Python client has no third-party dependencies and raises TransmitlyError with status, code, message and details.

Package: PyPI·OpenAPI 3.1

Install

install
pip install transmitly

Send your first email

send
from transmitly import Transmitly

tx = Transmitly("txk_...")
accepted = tx.send_email(
    from_="Notify <[email protected]>",
    to=["[email protected]"],
    subject="Your workspace is ready",
    html="<p>Welcome.</p>",
    reply_to="[email protected]",
)

send_email generates an idempotency key and send_batch accepts up to 100 messages. Domain, webhook and inbound calls need an admin-scoped key.

Next steps

Read the API reference for request fields and the error codes the exception exposes.

Need the full API surface? OpenAPI 3.1.