# /register

## registration form inputs

<mark style="color:green;">`POST`</mark> `geolytix.xyz/register`

This endpoint allows to create a new user account in the ACL or reset the password of an existing account.

#### Request Body

| Name     | Type   | Description                                        |
| -------- | ------ | -------------------------------------------------- |
| email    | string | The email address associated with an user account. |
| password | string | The user account password.                         |

{% tabs %}
{% tab title="301 A /register post will always return a redirect." %}

```
If valid credentials were provided the redirect will redirect to the login view with a message in regard to additional instructions.

If invalid credentials were provided the redirect will redirect to the login view with a message in regard to the registration failure.
```

{% endtab %}
{% endtabs %}


---

# 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://geolytix.gitbook.io/xyz-developer-guide/routes/auth/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.
