# Register

## Send register data

<mark style="color:green;">`POST`</mark> `https://api.auth.gg/v1/`

This endpoint allows you to license any language that can make web requests

#### Query Parameters

| Name     | Type   | Description                                                             |
| -------- | ------ | ----------------------------------------------------------------------- |
| type     | string | register                                                                |
| hwid     | string | Hardware-ID                                                             |
| email    | string | Email                                                                   |
| license  | string | License                                                                 |
| password | string | Password                                                                |
| username | string | Username                                                                |
| aid      | string | AID is found in profile settings                                        |
| secret   | string | Secret is found in applications tab                                     |
| apikey   | string | API Key is found in profile settings, only available to premium members |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

### Raw POST Example

```
POST /v1 HTTP/1.1
Host: api.auth.gg
Content-Type: application/x-www-form-urlencoded
Content-Length: 123

type=register&aid=demo&apikey=demo&secret=demo&username=demo&password=demo&hwid=demo&license=demo&email=demo
```

{% hint style="info" %}
All responses are encoded in JSON
{% endhint %}

### Successful Register

```
{
"result":"success"
}
```

### Invalid license

```
{
"result":"invalid_license"
}
```

### Email already used

```
{
"result":"email_used"
}
```

### Invalid or taken username

```
{
"result":"invalid_username"
}
```

###


---

# 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://setup.auth.gg/api/register.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.
