# API Key

## Base URL for API Endpoints

AquaPay provides a production environment and a sandbox environment.&#x20;

The API endpoint for the **sandbox** environment is:

```
https://api-staging.aquanow.io
```

The API endpoint for the **production** environment is:

```
https://api.aquanow.io
```

## Generating API Key

For programmatic access or API integration, users can create an API key through the following steps:

Go to the "API Keys" section of the navigation panel

![](/files/qHaZlEOH5IYr24HCASZg)

Click on "Create New API Key"

![](/files/t7MkooFXU2knLaEjQgHE)

![](/files/YatFJScb45UFiN2ys2GR)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aquapay.io/integration-guide/api-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
