Skip to main content

Before you start

  • You need to have Golang installed on your machine.
  • You need to have a Rewrite API key with the permissions.
1

Install the SDK

To install the Golang SDK, run the following command:
2

Set up REWRITE_API_KEY environment variable

Set up your Rewrite API key in your environment variables.
.env
3

Send your SMS

Now, all you need to do is pass the message content and that’s it!
main.go
You can do everything with our SDK, keep exploring!