Skip to navigation

Get Home Redirect

Resolve the user’s home/root redirect URL. Used to determine where to send the user after login or when they visit the root path.

Authentication: Public with visitor fallback — works for both authenticated users and public content visitors.

Query parameters:

  • to (optional) — A preferred redirect path. If provided, the user is directed there instead.

Response (authenticated):

  • token — Current JWT token
  • location — First navigation item URL, or the to path if specified
  • the member’s profile fields at the top level of data (id, first_name, last_name, name, initials, email, avatar_url, status, bio, phone, website, social handles, otp_enabled, passkey_registered, last_seen_at, created_at, updated_at, …) — there is no nested user object

Response (unauthenticated, public content enabled):

  • location — Public content URL (e.g. feed, products page)

Errors:

  • 401 — Not logged in and no public content available

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

tostringOptional

Optional redirect path (e.g. /dashboard)

Response

OK