Sessions
Companies & Users
API Keys & Permissions
Blocks
Server-to-Server (Auth Key)
OAuth 2.0
Analytics
Billing
Powered by DocStar
  1. API reference
  2. Sessions

Sessions

Register and sign in end users, reset passwords, refresh and end sessions, and complete third-party logins.

Register, login, password reset and the login callbacks are designed for the 36Blocks browser widget and mobile SDK. They need an encrypted proxy_state value that only the widget can produce, so call them from your front end rather than from scripts or AI assistants.

After a successful sign-in you get a proxy_auth_token and a refresh_token. Send the token in the proxy_auth_token header on all signed-in calls.

#

Guides

Session & Authorization

The two ways to represent a session on your backend: token-only or JWT.

Refresh Tokens

Keep a user signed in by exchanging a refresh token for a new session.

Redirect Parameters

What 36Blocks adds to your redirect URL after login, and how to redirect somewhere else.

POST
Refresh Session Token
DELETE
Log Out

Session & Authorization

Refresh Tokens

Redirect Parameters

On this page

  • Guides
336Blocks User API · API documentation

Build with 36Blocks User. Let AI do the rest.

Copy the instructions, paste them into your AI, and tell it what you want to build.

Paste into your AI and tell it what you want to build.

·
Published with DocStar