> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.getsinbad.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.getsinbad.com/_mcp/server.

# Current session

> Read or revoke the session the customer is using.

These calls use the customer's session token.

## Read the current session

Call [`GET /v1/session`](https://docs.getsinbad.com/api-reference/sessions/get-customer-session) to check the customer, integration, wallet, chain and expiry before you restore a saved workflow.

## Log out

Call [`DELETE /v1/session`](https://docs.getsinbad.com/api-reference/sessions/revoke-current-customer-session) to revoke the session. Calling it again is accepted while the token is otherwise valid. After the token expires, the call returns `401`.

To end a customer's sessions from your server, see [Customer management](/revoke).