Setup your API Authentication

Using Bearer Authentication with the Watermelon API

The Watermelon API uses Bearer authentication, an HTTP scheme that relies on security tokens known as bearer tokens. In simple terms, “Bearer authentication” means that access is granted to whoever holds this token.

A bearer token is a secure, cryptic string that you can generate directly from your Watermelon platform settings. For detailed instructions on generating an API key, click here.

To authenticate your requests, combine your API Key and Secret Key using the following format:
"api_key" + "." + "secret_key"

Include this bearer token in the Authorization: Bearer header when making requests to Watermelon. This ensures your requests are properly authenticated and secure.