> For the complete documentation index, see [llms.txt](https://stokn.gitbook.io/welcome-to-stokn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stokn.gitbook.io/welcome-to-stokn.io/step-3-user-account-information.md).

# Step 3 - User Account Information

In this Step, we will describe how you can collect the informations linked to the Users through the AccountId or PortfolioId.&#x20;

<figure><img src="/files/uqKSz2yMfdNfTkLt6dkE" alt=""><figcaption></figcaption></figure>

1 - This first endpoint will give you the possibility to collect all the data relating to a given User. By entering the **UserId**, you will access his name, surname, phone, email, **AccountId**, **SubAccountId**, **PortfolioId** and any other information you may have inserted.&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/user/me" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: user\_auth

2 -  With this second endpoint, you will be able to collect of the information related to an **AccountId:** email, **AccountId**, **SubAccountId**, **PortfolioId** and any other information you may have inserted.&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/account/{accountId}" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth

3 - With this endpoint, you will be able to obtain the balance on any **AccountId**.&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/account/{accountId}/balance" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth

4 - With this endpoint, you will be able to obtain all the information relating to on any **PortfolioId**.&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/account/portfolio/{accountId}/{portfolioId}" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth
