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

# API reference: wallet sessions

Request a wallet challenge, create a session and revoke it.

Read [Wallet authentication](/noiho/developers/api-consumers/wallet-authentication.md) before you use these endpoints. Sign the returned challenge with your wallet, outside the playground.

> **Warning: Session requests change authentication state**
>
> A session request consumes a challenge. Logout revokes the current session. Never use a backend partner token in this browser panel.

{% openapi src="<https://api.noiho.xyz/v1/openapi.json>" path="/v1/auth/challenge" method="post" %}
<https://api.noiho.xyz/v1/openapi.json>
{% endopenapi %}

{% openapi src="<https://api.noiho.xyz/v1/openapi.json>" path="/v1/auth/session" method="post" %}
<https://api.noiho.xyz/v1/openapi.json>
{% endopenapi %}

{% openapi src="<https://api.noiho.xyz/v1/openapi.json>" path="/v1/auth/logout" method="post" %}
<https://api.noiho.xyz/v1/openapi.json>
{% endopenapi %}
