# Обновление данных о пользователе

### Получение или обновление информации о пользователей

Метод позволяет:

* получить нового пользователя, и использовать его uid в дальнейших запросах, если вы не оперируете собственным идентификатором пользователя (`user.custom`).
* получить идентификатор новой сессии для пользователя, если вы не оперируете собственным идентификатором сессии (`session.custom`).
* обновить данные о пользователе.

{% hint style="info" %}
Все вышеуказанные действия возможно выполнять и в рамках других запросов. В других методах, запрос без указания пользователя приведет к создание нового, а запрос без сессии – к обновлению сессии.
{% endhint %}

{% openapi src="/files/704nSL799SoKcjroNMB4" path="/user" method="post" %}
[ads\_openapi - simple.yaml](https://4177852890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgJkXEceGp0tRdxEFeaze%2Fuploads%2FJ62lNmCcZjSKYqHYbVQh%2Fads_openapi%20-%20simple.yaml?alt=media\&token=120c52a4-322c-4b4d-bb3e-f21a2d1480dd)
{% endopenapi %}


---

# 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://developer.gravityfield.ai/gravity-ads/implemention/server-side-integraciya/obnovlenie-dannykh-o-polzovatele.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.
