
#### Getting Started

# Authentication

How to authenticate your requests to the HypeProxy.io API.

## Getting Your API Token

Your API token is available in your HypeProxy.io dashboard. Navigate to your **profile page** to find and copy your JWT token.

{% api-token /%}

## Making Authenticated Requests

All API requests must include your token in the `Authorization` header using the Bearer scheme:

```bash
curl https://api.hypeproxy.io/Utils/GetInformations \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### Header Format

| Header | Value |
| ------ | ----- |
| `Authorization` | `Bearer YOUR_API_TOKEN` |

## Example in Different Languages

### cURL

```bash
curl https://api.hypeproxy.io/Utils/GetInformations \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://api.hypeproxy.io/Utils/GetInformations', {
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN'
  }
});

const data = await response.json();
```

### Python

```bash
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://api.hypeproxy.io/Utils/GetInformations', headers=headers)
data = response.json()
```

### C#

```csharp
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
    new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", "YOUR_API_TOKEN");

var response = await client.GetAsync("https://api.hypeproxy.io/Utils/GetInformations");
var data = await response.Content.ReadAsStringAsync();
```

## Error Responses

If your token is missing or invalid, the API will return a `401 Unauthorized` response. Make sure your token is correctly copied from the dashboard and included in every request.
