Skip to main content

Before you start

  • You need Java 17+ installed on your machine.
  • You need a Rewrite API key with the required permissions.
1

Install the SDK

Add the Java SDK to your project:
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.java
You can do everything with our SDK, keep exploring.