Transmitly documentation
Go SDK
Install the Transmitly Go SDK, send with context and handle API errors.
Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference
The Go client lives at github.com/Transmitly-io/sdk-go. Non-2xx responses return *transmitly.APIError.
Package: pkg.go.dev·OpenAPI 3.1
Install
install
go get github.com/Transmitly-io/[email protected]Send your first email
send
client := transmitly.New(os.Getenv("TRANSMITLY_KEY"))
accepted, err := client.SendEmail(ctx, transmitly.EmailInput{
From: "Notify <[email protected]>",
To: []string{"[email protected]"},
Subject: "Your workspace is ready",
HTML: "<p>Welcome.</p>",
ReplyTo: "[email protected]",
})BaseURL defaults to https://transmitly.io; set it for local testing. SendEmailBatch accepts up to 100 messages.
Next steps
The API reference maps resources to paths; SDKs lists the other clients.
Need the full API surface? OpenAPI 3.1.