# Registration

{% hint style="info" %}
To register a new user using the **mobile** provider
{% endhint %}

{% tabs %}
{% tab title="Request" %}
`POST https://mburger.cloud/api/register`

```bash
curl https://mburger.cloud/api/register
 -X POST 
 -H "Accept: application/json" 
 -H "Content-Type: application/x-www-form-urlencoded" 
 -H "X-MBurger-Token: " 
 -H "X-MBurger-Version: 3" 
 -d '<data>' 
```

#### Parameters

| Name         | Type   | Required | Description                                 |
| ------------ | ------ | -------- | ------------------------------------------- |
| name         | string | Yes      | The user name                               |
| surname      | string | Yes      | The user surname                            |
| email        | string | Yes      | User email                                  |
| password     | string | Yes      | Password                                    |
| phone        | string | No       | The user phone number                       |
| gender       | string | No       | The user gender                             |
| image        | string | No       | Base64 encoded image                        |
| contracts    | JSON   | No       | JSON array of contracts accepted by user    |
| data         | JSON   | No       | JSON object/array that contains custom data |
| {% endtab %} |        |          |                                             |

{% tab title="Response" %}
When successful, a HTTP 200 and JSON like this is returned:

```bash
{
  "status_code": 0
}
```

{% 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://docs.mburger.cloud/api-docs-1/integrations-extensions/users/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.
