> ## Documentation Index
> Fetch the complete documentation index at: https://hydrotuff-admin-mcp-fix-pages-3f076f6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> How to authenticate requests to the HydroSolve API.

# Authentication

All requests require an API key passed via the `apikey` header.

```bash theme={null}
-H "apikey: hydrosolves-xxxxxxxx"
```

Keys are issued by the admin. Each key has a prepaid balance. Tasks deduct from your balance on creation.

## Balance Check

```bash theme={null}
curl "https://api.hydrosolves.gay/getBalance?apikey=hydrosolves-xxxxxxxx"
```

Returns:

```json theme={null}
{ "status": "success", "balance": 10.0 }
```
