> ## Documentation Index
> Fetch the complete documentation index at: https://hydrotuff-admin-mcp-new-docs-207c911.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.

## Key Formats

* **Standard key**: `hydrosolves-xxxxxxxx` — 8 random lowercase alphanumeric characters
* **Admin key**: provided by the admin — full access, no balance deduction

## Balance Check

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

Returns:

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