> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/api-reference/advanced/me.md).

# Me

## Get my access state

> Called right after sign-in. Stores \`language\` when the user has none and it is supported, and sends a welcome e-mail the first time a user who has no tenant yet calls it.

```json
{"openapi":"3.1.1","info":{"title":"Neostore internal API","version":"v1"},"tags":[{"name":"Me"}],"servers":[{"url":"https://app.neostore.cloud","description":"Production Server"},{"url":"https://app-qa.neostore.cloud","description":"Staging Server"}],"paths":{"/api/me":{"get":{"tags":["Me"],"summary":"Get my access state","description":"Called right after sign-in. Stores `language` when the user has none and it is supported, and sends a welcome e-mail the first time a user who has no tenant yet calls it.","parameters":[{"name":"language","in":"query","description":"Language code the back-office is displayed in, e.g. `fr`. Ignored when unsupported or when the user already has a language.","schema":{"type":"string"}}],"responses":{"200":{"description":"Access state returned.","content":{"text/plain":{"schema":{"description":"Access state of the signed-in user.","$ref":"#/components/schemas/MeResponse"}},"application/json":{"schema":{"description":"Access state of the signed-in user.","$ref":"#/components/schemas/MeResponse"}},"text/json":{"schema":{"description":"Access state of the signed-in user.","$ref":"#/components/schemas/MeResponse"}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}},"components":{"schemas":{"MeResponse":{"type":"object","properties":{"hasTenants":{"type":"boolean","description":"Whether the user holds a role on at least one tenant."},"emailVerified":{"type":"boolean","description":"Whether the e-mail address is verified, including verification since sign-in."},"language":{"type":["null","string"],"description":"Back-office language code, e.g. `fr`; null when none is stored."}},"additionalProperties":false,"description":"Access state of the signed-in user."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}}}
```

## Set my back-office language

> Replaces the stored language, which sets the language of platform e-mails.

```json
{"openapi":"3.1.1","info":{"title":"Neostore internal API","version":"v1"},"tags":[{"name":"Me"}],"servers":[{"url":"https://app.neostore.cloud","description":"Production Server"},{"url":"https://app-qa.neostore.cloud","description":"Staging Server"}],"paths":{"/api/me/language":{"put":{"tags":["Me"],"summary":"Set my back-office language","description":"Replaces the stored language, which sets the language of platform e-mails.","requestBody":{"content":{"application/json":{"schema":{"description":"Request body to change the signed-in user's back-office language.","$ref":"#/components/schemas/SetLanguageRequest"}},"text/json":{"schema":{"description":"Request body to change the signed-in user's back-office language.","$ref":"#/components/schemas/SetLanguageRequest"}},"application/*+json":{"schema":{"description":"Request body to change the signed-in user's back-office language.","$ref":"#/components/schemas/SetLanguageRequest"}}}},"responses":{"204":{"description":"Language saved."},"400":{"description":"Language missing or unsupported.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}},"components":{"schemas":{"SetLanguageRequest":{"required":["language"],"type":"object","properties":{"language":{"minLength":1,"type":"string","description":"One of the supported back-office languages, e.g. `en`. Also the language of platform e-mails sent to the user."}},"additionalProperties":false,"description":"Request body to change the signed-in user's back-office language."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/api-reference/advanced/me.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
