Skip to main content

Before you start

  • You need Kotlin/JVM installed on your machine.
  • You need a Rewrite API key with the required permissions.
1

Install the SDK

Add the Kotlin SDK dependency:
build.gradle.kts
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.kt
You can do everything with our SDK, keep exploring.