> ## Documentation Index
> Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> OnetSolutions API documentation for managing your hosting services programmatically

Welcome to the OnetSolutions API documentation. Use our API to manage your VPS, domains, and hosting services programmatically.

## Base URL

```
https://api.onetsolutions.net
```

## Authentication

All API requests require authentication. Include your API key in the request headers:

```bash theme={null}
curl -X GET "https://api.onetsolutions.net/v1/endpoint" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

You can generate an API key from your [OnetSolutions Dashboard](https://my.onetsolutions.net).

## Rate Limits

API requests are rate limited to ensure fair usage:

| Plan       | Requests per minute |
| ---------- | ------------------- |
| Free       | 60                  |
| Pro        | 300                 |
| Enterprise | Custom              |

## Response Format

All responses are returned in JSON format:

```json theme={null}
{
  "success": true,
  "data": { },
  "message": "Operation completed successfully"
}
```

## Error Handling

Error responses include a status code and descriptive message:

```json theme={null}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or expired API key"
  }
}
```

## Need Help?

If you have questions about the API, contact our support team through the [Dashboard](https://my.onetsolutions.net).
