Skip to main content
1

Install the SDK

Add the SDK to your Go module:
The SDK requires Go 1.22 or later and has no external dependencies.
2

Set your credentials

Export your Paubox API key and username as environment variables:
To obtain credentials, see Authentication.
3

Send your first email

Create a file main.go with the following code:
Run it:
4

Check delivery status

Use the tracking ID returned by SendMessage to check delivery:

Next steps

  • Email client: send batches, attach files, manage dynamic templates, handle errors
  • Forms client: retrieve form schemas and submit responses