Transmitly documentation

Elixir SDK

Install the Transmitly Elixir package, send from Phoenix and control idempotency.

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

The Elixir client is published as :transmitly and works with any Mix project, including Phoenix.

Package: Hex·OpenAPI 3.1

Install

mix.exs
{:transmitly, "~> 1.0"}

Send your first email

send
tx = Transmitly.Client.new(System.fetch_env!("TRANSMITLY_API_KEY"))

accepted =
  Transmitly.Client.send_email(tx, %{
    "from" => "Notify <[email protected]>",
    "to" => ["[email protected]"],
    "subject" => "Your workspace is ready",
    "html" => "<p>Welcome.</p>",
    "tags" => %{"flow" => "onboarding"}
  })

send_email/3 generates an idempotency key; pass idempotency_key: to control it. In Phoenix, read the key fromruntime.exs and build one client per node.

Next steps

See the API reference and the SDK overview for the Phoenix example.

Need the full API surface? OpenAPI 3.1.